SDL  2.0
SDL_systhread.c File Reference
#include "../../SDL_internal.h"
#include "SDL_thread.h"
#include "../SDL_systhread.h"
+ Include dependency graph for SDL_systhread.c:

Go to the source code of this file.

Functions

int SDL_SYS_CreateThread (SDL_Thread *thread, void *args)
void SDL_SYS_SetupThread (const char *name)
SDL_threadID SDL_ThreadID (void)
int SDL_SYS_SetThreadPriority (SDL_ThreadPriority priority)
void SDL_SYS_WaitThread (SDL_Thread *thread)
void SDL_SYS_DetachThread (SDL_Thread *thread)

Function Documentation

int SDL_SYS_CreateThread ( SDL_Thread thread,
void args 
)

Definition at line 35 of file SDL_systhread.c.

Referenced by SDL_CreateThreadWithStackSize().

{
return SDL_SetError("Threads are not supported on this platform");
}
void SDL_SYS_DetachThread ( SDL_Thread thread)

Definition at line 66 of file SDL_systhread.c.

Referenced by SDL_DetachThread().

{
return;
}
int SDL_SYS_SetThreadPriority ( SDL_ThreadPriority  priority)

Definition at line 54 of file SDL_systhread.c.

Referenced by SDL_SetThreadPriority().

{
return (0);
}
void SDL_SYS_SetupThread ( const char *  name)

Definition at line 42 of file SDL_systhread.c.

Referenced by SDL_RunThread().

{
return;
}
void SDL_SYS_WaitThread ( SDL_Thread thread)

Definition at line 60 of file SDL_systhread.c.

Referenced by SDL_WaitThread().

{
return;
}
SDL_threadID SDL_ThreadID ( void  )

Get the thread identifier for the current thread.

Definition at line 48 of file SDL_systhread.c.

{
return (0);
}