projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add IRQ_RUNNING() implementation for ARM7.
[bertos.git]
/
bertos
/
kern
/
sem.h
diff --git
a/bertos/kern/sem.h
b/bertos/kern/sem.h
index 71c6273a96fb4cf9fe2e3d8d40c930717cde9a53..1e59c07fd7a42e2ec16e7e9cf3408d36a95bef11 100644
(file)
--- a/
bertos/kern/sem.h
+++ b/
bertos/kern/sem.h
@@
-31,10
+31,12
@@
*
* -->
*
*
* -->
*
+ * \defgroup kern_sem Mutually exclusive semaphores
+ * \ingroup kern
+ * \{
* \brief Mutually exclusive semaphores.
* Shared locking not supported in this implementation.
*
* \brief Mutually exclusive semaphores.
* Shared locking not supported in this implementation.
*
- * \version $Id$
*
* \author Bernie Innocenti <bernie@codewiz.org>
*
*
* \author Bernie Innocenti <bernie@codewiz.org>
*
@@
-70,5
+72,10
@@
bool sem_attempt(struct Semaphore *s);
void sem_obtain(struct Semaphore *s);
void sem_release(struct Semaphore *s);
/* \} */
void sem_obtain(struct Semaphore *s);
void sem_release(struct Semaphore *s);
/* \} */
+/* \} */ //defgroup kern_sem
+
+int sem_testRun(void);
+int sem_testSetup(void);
+int sem_testTearDown(void);
#endif /* KERN_SEM_H */
#endif /* KERN_SEM_H */