1.3 API CHANGE: Add support for naming threads.
--HG-- extra : rebase_source : ae532d4b4d68ef86de0fc2cb6794a622e0841bce
This commit is contained in:
parent
dead491b27
commit
0863dee582
22 changed files with 183 additions and 45 deletions
|
@ -296,8 +296,8 @@ main(int argc, char *argv[])
|
|||
SDL_SetEventFilter(FilterEvents, NULL);
|
||||
|
||||
/* Create the event handling threads */
|
||||
mouse_thread = SDL_CreateThread(HandleMouse, NULL);
|
||||
keybd_thread = SDL_CreateThread(HandleKeyboard, NULL);
|
||||
mouse_thread = SDL_CreateThread(HandleMouse, "MouseHandler", NULL);
|
||||
keybd_thread = SDL_CreateThread(HandleKeyboard, "KeyboardHandler", NULL);
|
||||
|
||||
/* Set the surface pixels and refresh! */
|
||||
for (i = 0; i < 256; ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue