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

◆ SDL_SYS_CreateThread()

int SDL_SYS_CreateThread ( SDL_Thread thread,
void args 
)

Definition at line 35 of file SDL_systhread.c.

37{
38 return SDL_SetError("Threads are not supported on this platform");
39}
#define SDL_SetError

References SDL_SetError.

Referenced by SDL_CreateThreadWithStackSize().

◆ SDL_SYS_DetachThread()

void SDL_SYS_DetachThread ( SDL_Thread thread)

Definition at line 66 of file SDL_systhread.c.

67{
68 return;
69}

Referenced by SDL_DetachThread().

◆ SDL_SYS_SetThreadPriority()

int SDL_SYS_SetThreadPriority ( SDL_ThreadPriority  priority)

Definition at line 54 of file SDL_systhread.c.

55{
56 return (0);
57}

Referenced by SDL_SetThreadPriority().

◆ SDL_SYS_SetupThread()

void SDL_SYS_SetupThread ( const char *  name)

Definition at line 42 of file SDL_systhread.c.

43{
44 return;
45}

Referenced by SDL_RunThread().

◆ SDL_SYS_WaitThread()

void SDL_SYS_WaitThread ( SDL_Thread thread)

Definition at line 60 of file SDL_systhread.c.

61{
62 return;
63}

Referenced by SDL_WaitThread().

◆ SDL_ThreadID()

SDL_threadID SDL_ThreadID ( void  )

Get the thread identifier for the current thread.

Definition at line 48 of file SDL_systhread.c.

49{
50 return (0);
51}