pt-sem.h File Reference

Counting semaphores implemented on protothreads. More...

#include "sys/pt.h"

Go to the source code of this file.

Defines

#define PT_SEM_INIT(s, c)
 Initialize a semaphore.
#define PT_SEM_WAIT(pt, s)
 Wait for a semaphore.
#define PT_SEM_SIGNAL(pt, s)
 Signal a semaphore.

Detailed Description

Counting semaphores implemented on protothreads.

Author:
Adam Dunkels <adam@sics.se>

Definition in file pt-sem.h.


Generated on Mon Apr 11 14:23:47 2011 for Contiki 2.5 by  doxygen 1.6.1