zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_thread_c.h File Reference
#include "SDL_config.h"
#include "SDL_thread.h"
#include "generic/SDL_systhread_c.h"
#include "../SDL_error_c.h"

Go to the source code of this file.

Classes

struct  SDL_Thread
 
struct  SDL_TLSData
 

Macros

#define TLS_ALLOC_CHUNKSIZE   4
 

Functions

SDL_TLSDataSDL_Generic_GetTLSData ()
 
int SDL_Generic_SetTLSData (SDL_TLSData *data)
 
void SDL_RunThread (void *data)
 

Macro Definition Documentation

#define TLS_ALLOC_CHUNKSIZE   4

Definition at line 71 of file SDL_thread_c.h.

Referenced by SDL_TLSSet().

Function Documentation

int SDL_Generic_SetTLSData ( SDL_TLSData data)
void SDL_RunThread ( void data)

Definition at line 263 of file SDL_thread.c.

References int, SDL_SemPost(), SDL_SYS_SetupThread(), SDL_ThreadID(), SDL_TLSCleanup(), and SDLCALL.

Referenced by RunThread(), and ThreadEntry().