#include <libarch/fibril.h>#include <adt/list.h>#include <libarch/tls.h>Go to the source code of this file.
Data Structures | |
| struct | fibril |
| struct | fibril_owner_info_t |
Defines | |
| #define | context_set_generic(c, _pc, stack, size, ptls) |
| #define | fibril_local __thread |
| Fibril-local variable specifier. | |
| #define | FIBRIL_SERIALIZED 1 |
| #define | FIBRIL_WRITER 2 |
Typedefs | |
| typedef sysarg_t | fid_t |
Enumerations | |
| enum | fibril_switch_type_t |
Functions | |
| void | context_restore (context_t *ctx) |
| int | context_save (context_t *ctx) |
| void | fibril_add_manager (fid_t fid) |
| Add a fibril to the manager list. | |
| void | fibril_add_ready (fid_t fid) |
| Add a fibril to the ready list. | |
| fid_t | fibril_create (int(*func)(void *), void *arg) |
| Create a new fibril. | |
| void | fibril_dec_sercount (void) |
| Restore the preemption counter to the previous state. | |
| fid_t | fibril_get_id (void) |
| Return fibril id of the currently running fibril. | |
| int | fibril_get_sercount (void) |
| void | fibril_inc_sercount (void) |
| Disable preemption. | |
| void | fibril_remove_manager (void) |
| Remove one manager from the manager list. | |
| fibril_t * | fibril_setup (void) |
| Setup fibril information into TCB structure. | |
| int | fibril_switch (fibril_switch_type_t stype) |
| Switch from the current fibril. | |
| void | fibril_teardown (fibril_t *fibril) |
| static int | fibril_yield (void) |
Definition in file fibril.h.
1.4.7