dhewg
|
a75387c55e
|
Add SDL2 support in sys/threads.cpp
|
2012-07-20 17:34:33 +02:00 |
|
dhewg
|
c994974ffc
|
Port Sys_Milliseconds() to SDL
Sync with SDL and use unsigned int as return type.
Code outside of sys/ still uses signed ints to store the result.
|
2011-12-22 10:38:38 +01:00 |
|
dhewg
|
317e63887c
|
Port Sys_Sleep() to SDL
|
2011-12-22 10:38:38 +01:00 |
|
dhewg
|
e7482b4957
|
Port all thread related functions to SDL
Setting thread priorities has been dropped (it is not portable).
The background download thread now exits gracefully.
g_threads is not public anymore.
|
2011-12-22 10:38:37 +01:00 |
|
dhewg
|
1a25b165b0
|
Port critical sections and events to SDL
Use SDL mutexes and conditions.
One new critical section CRITICAL_SECTION_SYS for events.
|
2011-12-21 17:50:35 +01:00 |
|