71 #if defined(__WIN32__) && !defined(HAVE_LIBC)
92 #define SDL_PASSED_BEGINTHREAD_ENDTHREAD
95 typedef uintptr_t(__cdecl * pfnSDL_CurrentBeginThread) (
void *, unsigned,
101 typedef void (__cdecl * pfnSDL_CurrentEndThread) (
unsigned code);
108 pfnSDL_CurrentBeginThread pfnBeginThread,
109 pfnSDL_CurrentEndThread pfnEndThread);
114 #define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex)
DECLSPEC SDL_threadID SDLCALL SDL_ThreadID(void)
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
unsigned long SDL_threadID
DECLSPEC SDL_threadID SDLCALL SDL_GetThreadID(SDL_Thread *thread)
DECLSPEC const char *SDLCALL SDL_GetThreadName(SDL_Thread *thread)
DECLSPEC SDL_TLSID SDLCALL SDL_TLSCreate(void)
Create an identifier that is globally visible to all threads but refers to data that is thread-specif...
EGLImageKHR EGLint * name
DECLSPEC void SDLCALL SDL_WaitThread(SDL_Thread *thread, int *status)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
DECLSPEC SDL_Thread *SDLCALL SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data)
static SDL_Thread * thread
EGLSurface EGLint void ** value
DECLSPEC int SDLCALL SDL_TLSSet(SDL_TLSID id, const void *value, void(*destructor)(void *))
Set the value associated with a thread local storage ID for the current thread.
DECLSPEC int SDLCALL SDL_SetThreadPriority(SDL_ThreadPriority priority)
DECLSPEC void *SDLCALL SDL_TLSGet(SDL_TLSID id)
Get the value associated with a thread local storage ID for the current thread.