zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_systls.c File Reference
#include "SDL_config.h"
#include "SDL_thread.h"
#include "../SDL_thread_c.h"
#include <pthread.h>

Go to the source code of this file.

Macros

#define INVALID_PTHREAD_KEY   ((pthread_key_t)-1)
 

Functions

SDL_TLSDataSDL_SYS_GetTLSData ()
 
int SDL_SYS_SetTLSData (SDL_TLSData *data)
 

Variables

static SDL_bool generic_local_storage = SDL_FALSE
 
static pthread_key_t thread_local_storage = INVALID_PTHREAD_KEY
 

Macro Definition Documentation

#define INVALID_PTHREAD_KEY   ((pthread_key_t)-1)

Definition at line 28 of file SDL_systls.c.

Referenced by SDL_SYS_GetTLSData().

Function Documentation

int SDL_SYS_SetTLSData ( SDL_TLSData data)

Variable Documentation

SDL_bool generic_local_storage = SDL_FALSE
static

Definition at line 31 of file SDL_systls.c.

Referenced by SDL_SYS_GetTLSData(), and SDL_SYS_SetTLSData().

pthread_key_t thread_local_storage = INVALID_PTHREAD_KEY
static

Definition at line 30 of file SDL_systls.c.

Referenced by SDL_SYS_GetTLSData(), and SDL_SYS_SetTLSData().