Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Examples

pt-sem.h File Reference


Detailed Description

Counting semaphores implemented on protothreads.

Author:
Adam Dunkels <adam@sics.se>

Definition in file pt-sem.h.

#include "sys/pt.h"

Go to the source code of this file.

Data Structures

struct  pt_sem

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.


Generated on Thu Jun 22 17:45:43 2006 for Contiki 2.x by  doxygen 1.4.4