Lines Matching defs:semaphore
36 * Contains RT distributed semaphore synchronization service definitions.
51 typedef struct semaphore {
54 task_t owner; /* task that owns semaphore */
55 ipc_port_t port; /* semaphore port */
61 #define semaphore_lock(semaphore) wait_queue_lock(&(semaphore)->wait_queue)
62 #define semaphore_unlock(semaphore) wait_queue_unlock(&(semaphore)->wait_queue)
66 extern void semaphore_reference (semaphore_t semaphore);
67 extern void semaphore_dereference (semaphore_t semaphore);