Mercurial > sdl-ios-xcode
diff src/thread/dc/SDL_systhread.c @ 1668:4da1ee79c9af SDL-1.3
more tweaking indent options
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 29 May 2006 04:04:35 +0000 |
parents | 782fd950bd46 |
children |
line wrap: on
line diff
--- a/src/thread/dc/SDL_systhread.c Mon May 29 03:53:21 2006 +0000 +++ b/src/thread/dc/SDL_systhread.c Mon May 29 04:04:35 2006 +0000 @@ -30,38 +30,38 @@ #include <kos/thread.h> int -SDL_SYS_CreateThread (SDL_Thread * thread, void *args) +SDL_SYS_CreateThread(SDL_Thread * thread, void *args) { - thread->handle = thd_create (SDL_RunThread, args); + thread->handle = thd_create(SDL_RunThread, args); if (thread->handle == NULL) { - SDL_SetError ("Not enough resources to create thread"); + SDL_SetError("Not enough resources to create thread"); return (-1); } return (0); } void -SDL_SYS_SetupThread (void) +SDL_SYS_SetupThread(void) { return; } Uint32 -SDL_ThreadID (void) +SDL_ThreadID(void) { - return (Uint32) thd_get_current (); + return (Uint32) thd_get_current(); } void -SDL_SYS_WaitThread (SDL_Thread * thread) +SDL_SYS_WaitThread(SDL_Thread * thread) { - thd_wait (thread->handle); + thd_wait(thread->handle); } void -SDL_SYS_KillThread (SDL_Thread * thread) +SDL_SYS_KillThread(SDL_Thread * thread) { - thd_destroy (thread->handle); + thd_destroy(thread->handle); } /* vi: set ts=4 sw=4 expandtab: */