Include dependency graph for include/psthread.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | psthread_data |
Defines | |
#define | context_set(c, _pc, stack, size, ptls) |
#define | PSTHREAD_SERIALIZED 1 |
Typedefs | |
typedef sysarg_t | pstid_t |
typedef psthread_data | psthread_data_t |
Enumerations | |
enum | pschange_type { PS_TO_MANAGER, PS_FROM_MANAGER, PS_PREEMPT, PS_FROM_DEAD } |
Functions | |
int | context_save (context_t *c) |
void | context_restore (context_t *c) __attribute__((noreturn)) |
pstid_t | psthread_create (int(*func)(void *), void *arg) |
int | psthread_join (pstid_t psthrid) |
psthread_data_t * | psthread_setup (void) |
void | psthread_teardown (psthread_data_t *pt) |
int | psthread_schedule_next_adv (pschange_type ctype) |
void | psthread_add_ready (pstid_t ptid) |
void | psthread_add_manager (pstid_t psthrid) |
void | psthread_remove_manager (void) |
pstid_t | psthread_get_id (void) |
void | psthread_inc_sercount (void) |
void | psthread_dec_sercount (void) |
static int | psthread_schedule_next () |
Definition in file include/psthread.h.