Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-09-08 20:20:25
Size: 1098
Editor: SheenaSmith
Comment: minor change (old wiki)
Revision 4 as of 2010-10-12 05:21:28
Size: 1134
Editor: SheenaSmith
Comment: update content - pointers, structs
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
||'''thread'''||^a pointer to the [[SDL_Thread]]() to wait for^||
||'''status'''||^a pointer filled with status data^; see [[#Remarks|Remarks]] for details||
||'''thread'''||^the [[SDL_Thread]] to wait for^||
||'''status'''||^status data^; see [[#Remarks|Remarks]] for details||

<<Color2(green,Is '''status''' an exception to the 'pointer rule'?)>>

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 [[SDL_Thread]] to wait for

status

status data; see Remarks for details

green

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.

green


CategoryAPI, CategoryThread

None: SDL_WaitThread (last edited 2018-12-12 14:53:52 by RyanGordon)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit