#pragma section-numbers off #pragma camelcase off = SDL_SetThreadPriority = Use this function to set the priority for the current thread. <> == 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: <> ---- [[CategoryAPI]], [[CategoryThread]]