Function SDL_TLSCreate

pub unsafe extern "C" fn SDL_TLSCreate() -> u32 
Available on crate feature dep_sdl2 only.
Expand description

Create a piece of thread-local storage.

This creates an identifier that is globally visible to all threads but refers to data that is thread-specific.

\returns the newly created thread local storage identifier or 0 on error.

\since This function is available since SDL 2.0.0.

\sa SDL_TLSGet \sa SDL_TLSSet