Counting semaphores implemented on protothreads.
#include "sys/pt.h"
Data Structures | |
struct | pt_sem |
Macros | |
#define | PT_SEM_INIT(s, c) |
Initialize a semaphore. More... | |
#define | PT_SEM_SIGNAL(pt, s) |
Signal a semaphore. More... | |
#define | PT_SEM_WAIT(pt, s) |
Wait for a semaphore. More... | |