Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-06-02 01:08:42
Size: 1172
Editor: SheenaSmith
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
Revision 2 as of 2010-06-02 01:10:03
Size: 1202
Editor: SheenaSmith
Comment: add RF
Deletions are marked like this. Additions are marked like this.
Line 33: Line 33:
 .[[SDL_SemWaitTimeout]] ???

DRAFT

SDL_SemTryWait

Use this function to as a non-blocking variant of alternative to SDL_SemWait().

Syntax

int SDL_SemTryWait(SDL_sem* sem)

Function Parameters

sem

a pointer to the SDL_sem structure to be monitored

Return Value

Returns 0 if the wait succeeds, SDL_MUTEX_TIMEDOUT if the wait would block, and -1 on error; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here

green


CategoryAPI, CategoryMutex

None: SDL_SemTryWait (last edited 2013-10-05 19:37:56 by PhilippWiesemann)

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