Searched refs:thread_local_storage (Results 1 – 5 of 5) sorted by relevance
31 static DWORD thread_local_storage = TLS_OUT_OF_INDEXES; variable37 if (thread_local_storage == TLS_OUT_OF_INDEXES && !generic_local_storage) { in SDL_SYS_GetTLSData()40 if (thread_local_storage == TLS_OUT_OF_INDEXES && !generic_local_storage) { in SDL_SYS_GetTLSData()44 thread_local_storage = storage; in SDL_SYS_GetTLSData()55 return (SDL_TLSData *)TlsGetValue(thread_local_storage); in SDL_SYS_GetTLSData()64 if (!TlsSetValue(thread_local_storage, data)) { in SDL_SYS_SetTLSData()
30 static pthread_key_t thread_local_storage = INVALID_PTHREAD_KEY; variable36 if (thread_local_storage == INVALID_PTHREAD_KEY && !generic_local_storage) { in SDL_SYS_GetTLSData()39 if (thread_local_storage == INVALID_PTHREAD_KEY && !generic_local_storage) { in SDL_SYS_GetTLSData()43 thread_local_storage = storage; in SDL_SYS_GetTLSData()54 return (SDL_TLSData *)pthread_getspecific(thread_local_storage); in SDL_SYS_GetTLSData()63 if (pthread_setspecific(thread_local_storage, data) != 0) { in SDL_SYS_SetTLSData()
78 static void *thread_local_storage[OPENSSL_CRYPTO_THREAD_LOCAL_KEY_MAX]; variable89 thread_local_storage[*key] = NULL; in CRYPTO_THREAD_init_local()99 return thread_local_storage[*key]; in CRYPTO_THREAD_get_local()107 thread_local_storage[*key] = val; in CRYPTO_THREAD_set_local()
144 TEST_IMPL(thread_local_storage) { in TEST_IMPL() argument
426 TEST_DECLARE (thread_local_storage)1076 TEST_ENTRY (thread_local_storage)