ReactOS  0.4.15-dev-1068-g467feb9
threadid.c File Reference
#include <precomp.h>
#include <process.h>
Include dependency graph for threadid.c:

Go to the source code of this file.

Functions

unsigned long __threadid (void)
 
uintptr_t __threadhandle ()
 

Function Documentation

◆ __threadhandle()

uintptr_t __threadhandle ( void  )

Definition at line 16 of file threadid.c.

17 {
18  return (uintptr_t)GetCurrentThread();
19 }
HANDLE WINAPI GetCurrentThread(VOID)
Definition: proc.c:1148
unsigned int uintptr_t
Definition: crtdefs.h:300

◆ __threadid()

unsigned long __threadid ( void  )

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 8 of file threadid.c.

9 {
10  return GetCurrentThreadId();
11 }
DWORD WINAPI GetCurrentThreadId(VOID)
Definition: thread.c:458