SDL_WaitThread -- Wait for a thread to finish.
procedure SDL_WaitThread( thread : PSDL_Thread; var status : Integer
Wait for a thread to finish (timeouts are not supported).
The return code for the thread function is placed in the area pointed
to by status, if
status is not NULL.