Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: semaphore.h
- Revision:
- 0:3b35413050ff
- Child:
- 3:cf23d5c2ef90
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/semaphore.h Thu Aug 04 09:56:53 2011 +0000 @@ -0,0 +1,9 @@ + +typedef int semaphore; + +#define SEM_OK 1 +#define SEM_ERR 0 + +void semInit(semaphore* s, int initVal); +void semPost(semaphore* s); +int semPend(semaphore* s, int trials); \ No newline at end of file