mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 20:28:28 +00:00
Cleaned up thread state handling and added thread object validation
This commit is contained in:
parent
7647f16ae1
commit
eb1be89e70
6 changed files with 54 additions and 34 deletions
|
@ -50,7 +50,7 @@ struct SDL_Thread
|
|||
SDL_ThreadID threadid;
|
||||
SYS_ThreadHandle handle;
|
||||
int status;
|
||||
SDL_AtomicInt state; /* SDL_THREAD_STATE_* */
|
||||
SDL_AtomicInt state; /* SDL_ThreadState */
|
||||
SDL_error errbuf;
|
||||
char *name;
|
||||
size_t stacksize; // 0 for default, >0 for user-specified stack size.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue