dar_get_thread_id

fnulong dar_get_thread_id()

Get the current thread ID for use with cancellation functions.

Returns

the thread ID as an unsigned 64-bit integer.