diff options
Diffstat (limited to 'README.NONPORTABLE')
-rw-r--r-- | README.NONPORTABLE | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/README.NONPORTABLE b/README.NONPORTABLE index e138758..192fef6 100644 --- a/README.NONPORTABLE +++ b/README.NONPORTABLE @@ -72,6 +72,16 @@ pthread_getw32threadhandle_np(pthread_t thread); Applications can use the win32 handle to set win32 specific attributes of the thread. +DWORD +pthread_getw32threadid_np (pthread_t thread) + + Returns the win32 thread ID that the POSIX + thread "thread" is running as. + + Only valid when the library is built where + ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) + and otherwise returns 0. + int pthread_mutexattr_setkind_np(pthread_mutexattr_t * attr, int kind) |