librfn
An ad-hoc utility library
Data Structures | Functions
fibretest.c File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <librfn.h>

Go to the source code of this file.

Data Structures

struct  sleep_fibre_t
 
struct  yield_fibre_t
 
struct  event_descriptor_t
 
struct  eventq_t
 

Functions

int sleep_fibre (fibre_t *f)
 
int yield_fibre (fibre_t *f)
 
int exit_fibre (fibre_t *f)
 
int atomic_fibre (fibre_t *f)
 
int event_handler (fibre_t *f)
 
int main ()
 

Function Documentation

int atomic_fibre ( fibre_t f)

Definition at line 79 of file fibretest.c.

int event_handler ( fibre_t f)

Definition at line 103 of file fibretest.c.

int exit_fibre ( fibre_t f)

Definition at line 64 of file fibretest.c.

int main ( )

Definition at line 349 of file fibretest.c.

int sleep_fibre ( fibre_t f)

Definition at line 29 of file fibretest.c.

int yield_fibre ( fibre_t f)

Definition at line 49 of file fibretest.c.