VSF Documented
Macros | Functions
vsf_sdl2_thread.c File Reference
#include "./vsf_sdl2_cfg.h"
#include "./include/SDL2/SDL.h"
#include <unistd.h>

Macros

#define __VSF_LINUX_CLASS_INHERIT__
 

Functions

SDL_ThreadSDL_CreateThreadWithStackSize (SDL_ThreadFunction fn, const char *name, const size_t stacksize, void *data)
 
SDL_ThreadSDL_CreateThread (SDL_ThreadFunction fn, const char *name, void *data)
 
const char * SDL_GetThreadName (SDL_Thread *thread)
 
SDL_threadID SDL_ThreadID (void)
 
SDL_threadID SDL_GetThreadID (SDL_Thread *thread)
 
int SDL_SetThreadPriority (SDL_ThreadPriority priority)
 
void SDL_WaitThread (SDL_Thread *thread, int *status)
 
void SDL_DetachThread (SDL_Thread *thread)
 
SDL_TLSID SDL_TLSCreate (void)
 
void * SDL_TLSGet (SDL_TLSID id)
 
int SDL_TLSSet (SDL_TLSID id, const void *value, void(*destructor)(void *))
 
void SDL_TLSCleanup (void)
 

Macro Definition Documentation

◆ __VSF_LINUX_CLASS_INHERIT__

#define __VSF_LINUX_CLASS_INHERIT__

Function Documentation

◆ SDL_CreateThreadWithStackSize()

SDL_Thread * SDL_CreateThreadWithStackSize ( SDL_ThreadFunction  fn,
const char *  name,
const size_t  stacksize,
void *  data 
)

◆ SDL_CreateThread()

SDL_Thread * SDL_CreateThread ( SDL_ThreadFunction  fn,
const char *  name,
void *  data 
)

◆ SDL_GetThreadName()

const char * SDL_GetThreadName ( SDL_Thread thread)

◆ SDL_ThreadID()

SDL_threadID SDL_ThreadID ( void  )

◆ SDL_GetThreadID()

SDL_threadID SDL_GetThreadID ( SDL_Thread thread)

◆ SDL_SetThreadPriority()

int SDL_SetThreadPriority ( SDL_ThreadPriority  priority)

◆ SDL_WaitThread()

void SDL_WaitThread ( SDL_Thread thread,
int *  status 
)

◆ SDL_DetachThread()

void SDL_DetachThread ( SDL_Thread thread)

◆ SDL_TLSCreate()

SDL_TLSID SDL_TLSCreate ( void  )

◆ SDL_TLSGet()

void * SDL_TLSGet ( SDL_TLSID  id)

◆ SDL_TLSSet()

int SDL_TLSSet ( SDL_TLSID  id,
const void *  value,
void(*)(void *)  destructor 
)

◆ SDL_TLSCleanup()

void SDL_TLSCleanup ( void  )