KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Structures | Macros | Typedefs
sched.h File Reference

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. More...
 
#define SCHED_FIFO   1
 FIFO scheduling. More...
 
#define SCHED_RR   2
 Round-robin scheduling. More...
 

Typedefs

typedef kthread_tpthread_t
 POSIX thread type. More...
 
typedef mutex_t pthread_mutex_t
 POSIX mutex type. More...
 
typedef condvar_t pthread_cond_t
 POSIX condition type. More...
 
typedef kthread_once_t pthread_once_t
 POSIX once control. More...
 
typedef kthread_key_t pthread_key_t
 POSIX thread data key. More...
 

Detailed Description

Basic sys/sched.h file for newlib.

This file specifies a few things to make sure pthreads stuff compiles.

Macro Definition Documentation

#define SCHED_FIFO   1

FIFO scheduling.

#define SCHED_OTHER   0

Other scheduling.

#define SCHED_RR   2

Round-robin scheduling.

Typedef Documentation

POSIX condition type.

POSIX thread data key.

POSIX mutex type.

POSIX once control.

typedef kthread_t* pthread_t

POSIX thread type.