SDL 3.0
|
#include <SDL_mutex.h>
Data Fields | |
SDL_AtomicInt | status |
SDL_ThreadID | thread |
void * | reserved |
A structure used for thread-safe initialization and shutdown.
Here is an example of using this:
Note that this doesn't protect any resources created during initialization, or guarantee that nobody is using those resources during cleanup. You should use other mechanisms to protect those, if that's a concern for your code.
Definition at line 836 of file SDL_mutex.h.
void* SDL_InitState::reserved |
Definition at line 840 of file SDL_mutex.h.
SDL_AtomicInt SDL_InitState::status |
Definition at line 838 of file SDL_mutex.h.
SDL_ThreadID SDL_InitState::thread |
Definition at line 839 of file SDL_mutex.h.