* Reduce maximum priority to B_URGENT_DISPLAY_PRIORITY; real time threads isn't
really something to play with without knowing the outcome. * Fixed indentation/coding style violations introduced with r33783. Please take more care when accepting patches! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33787 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -5,18 +5,21 @@
|
||||
#ifndef _SCHED_H_
|
||||
#define _SCHED_H_
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define SCHED_OTHER 1
|
||||
#define SCHED_RR 2
|
||||
#define SCHED_FIFO 4
|
||||
|
||||
#define SCHED_OTHER 1
|
||||
#define SCHED_RR 2
|
||||
#define SCHED_FIFO 4
|
||||
|
||||
struct sched_param {
|
||||
int sched_priority;
|
||||
};
|
||||
|
||||
|
||||
extern int sched_yield(void);
|
||||
extern int sched_get_priority_min(int);
|
||||
extern int sched_get_priority_max(int);
|
||||
|
||||
Reference in New Issue
Block a user