Mercurial > sdl-ios-xcode
comparison src/thread/nds/SDL_systhread.c @ 3578:0d1b16ee0bca
Fixed bug #741
The thread ID is an unsigned long so it can hold pthread_t so people can do naughty things with it.
I'm going to be adding additional useful thread API functions, but this should prevent crashes in people's existing code on 64-bit architectures.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 16 Dec 2009 04:48:11 +0000 |
parents | 99210400e8b9 |
children | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3577:72024425b437 | 3578:0d1b16ee0bca |
---|---|
42 SDL_SYS_SetupThread(void) | 42 SDL_SYS_SetupThread(void) |
43 { | 43 { |
44 return; | 44 return; |
45 } | 45 } |
46 | 46 |
47 Uint32 | 47 SDL_threadID |
48 SDL_ThreadID(void) | 48 SDL_ThreadID(void) |
49 { | 49 { |
50 return (0); | 50 return (0); |
51 } | 51 } |
52 | 52 |