|
KallistiOS
2.0.0
|
Basic sys/sched.h file for newlib. More...
#include <kos/cdefs.h>#include <kos/thread.h>#include <kos/sem.h>#include <kos/cond.h>#include <kos/mutex.h>#include <kos/tls.h>#include <kos/once.h>Go to the source code of this file.
Data Structures | |
| struct | sched_param |
| Scheduling Parameters, P1003.1b-1993, p. 249. More... | |
| struct | pthread_mutexattr_t |
| POSIX mutex attributes. More... | |
| struct | pthread_condattr_t |
| POSIX condition variable attributes. More... | |
| struct | pthread_attr_t |
| POSIX thread attributes. More... | |
Macros | |
| #define | SCHED_OTHER 0 |
| Other scheduling. | |
| #define | SCHED_FIFO 1 |
| FIFO scheduling. | |
| #define | SCHED_RR 2 |
| Round-robin scheduling. | |
Typedefs | |
| typedef kthread_t * | pthread_t |
| POSIX thread type. | |
| typedef mutex_t | pthread_mutex_t |
| POSIX mutex type. | |
| typedef condvar_t | pthread_cond_t |
| POSIX condition type. | |
| typedef kthread_once_t | pthread_once_t |
| POSIX once control. | |
| typedef kthread_key_t | pthread_key_t |
| POSIX thread data key. | |
Basic sys/sched.h file for newlib.
This file specifies a few things to make sure pthreads stuff compiles.
| #define SCHED_FIFO 1 |
FIFO scheduling.
| #define SCHED_OTHER 0 |
Other scheduling.
| #define SCHED_RR 2 |
Round-robin scheduling.
| typedef condvar_t pthread_cond_t |
POSIX condition type.
| typedef kthread_key_t pthread_key_t |
POSIX thread data key.
| typedef mutex_t pthread_mutex_t |
POSIX mutex type.
| typedef kthread_once_t pthread_once_t |
POSIX once control.
1.8.1.1