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

pt-sem.h File Reference


Detailed Description

Counting semaphores implemented on protothreads.

Author:
Adam Dunkels <adam@sics.se>

#include "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.


Generated on Wed Jul 6 01:19:02 2005 for Contiki/ESB by doxygen 1.3.6