Mercurial > almixer_isolated
comparison Isolated/tErrorLib.c @ 64:aace3301c8d1
Fixed misspelled function name in _WIN32 section 'Internal_PlatformPlatformGetThreadID' (looks like search & replace bug). Thanks to Johnson Lin reporting this issue!
Johnson Lin < arch . jslin - at - gmail . com >
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Tue, 19 Jun 2012 00:33:00 -0700 |
parents | 72570fcd30e8 |
children |
comparison
equal
deleted
inserted
replaced
63:8063b19bd40e | 64:aace3301c8d1 |
---|---|
57 { | 57 { |
58 ReleaseMutex( | 58 ReleaseMutex( |
59 (HANDLE)mutex | 59 (HANDLE)mutex |
60 ); | 60 ); |
61 } | 61 } |
62 size_t Internal_PlatformPlatformGetThreadID(void) | 62 size_t Internal_PlatformGetThreadID(void) |
63 { | 63 { |
64 return((size_t)GetCurrentThreadId()); | 64 return((size_t)GetCurrentThreadId()); |
65 } | 65 } |
66 #else /* Assuming POSIX...maybe not a good assumption. */ | 66 #else /* Assuming POSIX...maybe not a good assumption. */ |
67 #include <pthread.h> | 67 #include <pthread.h> |