Simple coroutine library / objects in plain C Snapshot
|
#include <stdint.h>
#include <cutils/dlist.h>
Go to the source code of this file.
Classes | |
struct | tagSTACKS |
struct | tagSTACK_ENTRY |
Typedefs | |
typedef struct tagSTACKS | STACKS |
typedef struct tagSTACK_ENTRY | STACK_ENTRY |
Enumerations | |
enum | STACK_DIR { STACK_DIR_GROWING_DOWN, STACK_DIR_GROWING_UP } |
Functions | |
int | STACKS_init (STACKS *stack, int num_stacks, int pages_per_stack) |
int | STACKS_destroy (STACKS *stack) |
void * | STACKS_get (STACKS *stack, STACK_ENTRY **rentry) |
int | STACKS_release (STACK_ENTRY *entry) |
M_INLINE size_t | STACKS_get_stack_size (STACKS *stack) |
enum STACK_DIR |