4 * Copyright 2001,2004 Develer S.r.l. (http://www.develer.com/)
5 * Copyright 1999,2000,2001 Bernardo Innocenti <bernie@develer.com>
9 * \brief Mutually exclusive semaphores.
10 * Shared locking not supported in this implementation.
14 * \author Bernardo Innocenti <bernie@develer.com>
19 * Revision 1.1 2004/05/23 17:27:00 bernie
20 * Import kern/ subdirectory.
28 #include <mware/list.h>
36 struct Process *owner;
42 * \name Process synchronization services
45 void sem_init(struct Semaphore *s);
46 bool sem_attempt(struct Semaphore *s);
47 void sem_obtain(struct Semaphore *s);
48 void sem_release(struct Semaphore *s);
51 #endif /* KERN_SEM_H */