DRAFT |
SDL_WaitThread
Use this function to wait for a thread to finish.
Syntax
void SDL_WaitThread(SDL_Thread* thread,
int* status)
Function Parameters
thread |
the thread to wait for |
status |
the pointer to receive the return code???; see Remarks for details |
Is status an exception to the 'pointer rule'?
Code Examples
You can add your code example here
Remarks
The return code for the thread function is placed in the area pointed to by status, if status is not NULL.
Should anything be included here (or in Return Value?) that indicates what the "return code" might be? Seems like maybe 1 for waiting 0 for done -1 for error? Why is that not a Return Value? Just because it fills a pointer with it?