ReactOS  0.4.13-dev-99-g7e18b6d
threadid.c
Go to the documentation of this file.
1 #include <precomp.h>
2 #include <process.h>
3 
4 
5 /*
6  * @implemented
7  */
8 unsigned long __threadid (void)
9 {
10  return GetCurrentThreadId();
11 }
12 
13 /*
14  * @implemented
15  */
17 {
18  return (uintptr_t)GetCurrentThread();
19 }
uintptr_t __threadhandle()
Definition: threadid.c:16
HANDLE WINAPI GetCurrentThread(VOID)
Definition: proc.c:1178
unsigned int uintptr_t
Definition: crtdefs.h:300
DWORD WINAPI GetCurrentThreadId(VOID)
Definition: thread.c:421
unsigned long __threadid(void)
Definition: threadid.c:8