Contiki-NG
Macros

Counting semaphores implemented on protothreads. More...

#include "sys/pt.h"

Go to the source code of this file.

Macros

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

Detailed Description

Counting semaphores implemented on protothreads.

Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file pt-sem.h.