Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

RTDECL ( RTTHREAD   ) 

Get the thread handle of the current thread.

Returns:
Thread handle.
Gets the IPRT thread of a native thread.

Returns:
The IPRT thread handle

NIL_RTTHREAD if not a thread known to IPRT.

Parameters:
NativeThread The native thread handle/id.

Todo:
import alien threads ?

Definition at line 35 of file thread2-r0drv-darwin.cpp.

References g_dwSelfTLS, g_SelfKey, and NULL.

{
    return rtThreadGetByNative((RTNATIVETHREAD)current_thread());
}


Generated by  Doxygen 1.6.0   Back to index