Thread dispatchOverview
oth.get_original_thread
Provides original-thread metadata.
Details#
Returns the parent calling thread from inside an oth callback, or nil outside that context. This is a thread reference, not the original function.
Examples#
Example
print(oth.get_original_thread()) -- nil outside an oth callback