From: Brendan L. <bm...@ri...> - 2010-07-19 22:10:21
|
Wenyuan, I'm sure SDL_thread.h doesn't expose all the functionality you can get from pthreads, but it the important stuff. Instead of a pthread_join, you'd use SDL_WaitThread, etc. > I remember that POSIX threads are fully supported by Windows too? Have > you tried to compile it under windows? I googled quickly and it looks like you're right--what a nice surprise! http://sourceware.org/pthreads-win32/ I'll try this first. -Brendan |