chprio.c File Reference
Implements the functions: chprio.
More...
#include <thread.h>
Go to the source code of this file.
Detailed Description
Implements the functions: chprio.
- Id
- chprio.c 1521 2008-08-27 21:51:17Z mschul
Definition in file chprio.c.
Function Documentation
Change the scheduling priority of a thread.
- Parameters:
-
| tid | target thread |
| newprio | new priority |
- Returns:
- old priority of thread
Definition at line 17 of file chprio.c.
References disable, restore, and SYSERR.