Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-06-02 01:27:33
Size: 747
Editor: SheenaSmith
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
Revision 2 as of 2010-09-03 16:52:00
Size: 765
Editor: SheenaSmith
Comment: update content - standard return value
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
Returns 0 on success, or -1 on failure; call [[SDL_GetError]]() for more information. Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.

DRAFT

SDL_SemPost

Use this function to atomically (?? automatically ??) increase the semaphore's count (not blocking).

Syntax

int SDL_SemPost(SDL_sem* sem)

Function Parameters

sem

a pointer to the SDL_sem structure to be affected

Return Value

Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryMutex

None: SDL_SemPost (last edited 2013-08-12 05:48:11 by Sam Lantinga)

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