|
⇤ ← Revision 1 as of 2010-06-02 01:08:42
Size: 1172
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
|
Size: 1202
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().
Contents
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
