Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-03-30 21:48:42
Size: 910
Editor: SheenaSmith
Comment: create page - 3/29 e427bb6266a4 (3/25 82a09d5d0f07)
Revision 2 as of 2011-04-06 17:47:54
Size: 798
Editor: SheenaSmith
Comment: update content - w/ Sam; remove draft
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 30: Line 29:
== Related Functions ==
 .[[SDL_CreateThread]] ???

SDL_SetThreadPriority

Use this function to set the priority for the current thread.

Syntax

int SDL_SetThreadPriority(SDL_ThreadPriority priority)

Function Parameters

priority

the SDL_ThreadPriority to set; see Remarks for details

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

priority may be one of the following:

SDL_THREAD_PRIORITY_LOW

for non-urgent, background processing

SDL_THREAD_PRIORITY_NORMAL

for general purpose processing (default)

SDL_THREAD_PRIORITY_HIGH

for timing-critical processing


CategoryAPI, CategoryThread

None: SDL_SetThreadPriority (last edited 2018-11-12 20:37:07 by Nil)

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