Skip to main content

SDL_TLSID

Type Alias SDL_TLSID 

Source
pub type SDL_TLSID = SDL_AtomicInt;
Expand description

Thread local storage ID.

0 is the invalid ID. An app can create these and then set data for these IDs that is unique to each thread.

Available Since: This datatype is available since SDL 3.2.0.

See Also: SDL_GetTLS See Also: SDL_SetTLS

Aliased Type§

#[repr(C)]
pub struct SDL_TLSID { pub value: i32, }

Fields§

§value: i32