Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2018-11-12 11:27:09
Size: 85
Editor: TracieRoss
Comment:
Revision 5 as of 2018-11-12 20:37:07
Size: 797
Editor: Nil
Comment: revert spam. SDL Team, rollback, please
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[[http://lnkclik.com/73kU|vinn en gratis kryssning i karibien]] en gratis kryssning #pragma section-numbers off
#pragma camelcase off

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

<<TableOfContents()>>

== Syntax ==
{{{#!highlight cpp
int SDL_SetThreadPriority(SDL_ThreadPriority priority)
}}}

== Function Parameters ==
||'''priority'''||the [[SDL_ThreadPriority]] to set; see [[#Remarks|Remarks]] for details||

== Return Value ==
Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.

== Code Examples ==
{{{#!highlight cpp
You can add your code example here
}}}

== Remarks ==
'''priority''' may be one of the following:
<<Include(SDL_ThreadPriority, , , from="Start Include here.", to="##End Include here.")>>

----
[[CategoryAPI]], [[CategoryThread]]

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)

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