1
0
forked from 0ad/0ad

pthread_self, return the thread ID instead of the virtual handle

This was SVN commit r175.
This commit is contained in:
Simon Brenner 2004-03-07 02:00:54 +00:00
parent 5aa404a8f2
commit d2b8c799c4

View File

@ -258,7 +258,7 @@ int poll(struct pollfd /* fds */[], int /* nfds */, int /* timeout */)
__declspec(naked) pthread_t pthread_self(void)
{ __asm jmp dword ptr [GetCurrentThread] }
{ __asm jmp dword ptr [GetCurrentThreadId] }
int pthread_getschedparam(pthread_t thread, int* policy, struct sched_param* param)