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

Go to the source code of this file.

Functions

pt_state_t empty_thread (pt_t *pt)
 
pt_state_t yield_thread (pt_t *pt)
 
pt_state_t wait_thread (pt_t *pt)
 
pt_state_t exit_thread (pt_t *pt)
 
pt_state_t spawn_thread (pt_t *pt)
 
int main ()
 

Function Documentation

pt_state_t empty_thread ( pt_t pt)

Definition at line 23 of file protothreadstest.c.

pt_state_t exit_thread ( pt_t pt)

Definition at line 51 of file protothreadstest.c.

int main ( )

Definition at line 86 of file protothreadstest.c.

pt_state_t spawn_thread ( pt_t pt)

Definition at line 72 of file protothreadstest.c.

pt_state_t wait_thread ( pt_t pt)

Definition at line 38 of file protothreadstest.c.

pt_state_t yield_thread ( pt_t pt)

Definition at line 30 of file protothreadstest.c.