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.
Fork of mbed-rtos by
Diff: rtos/Semaphore.h
- Revision:
- 119:19af2d39a542
- Parent:
- 31:015df9e602b6
- Child:
- 123:58563e6cba1e
diff -r 6635230e06ba -r 19af2d39a542 rtos/Semaphore.h --- a/rtos/Semaphore.h Mon Jul 25 14:12:24 2016 +0100 +++ b/rtos/Semaphore.h Wed Aug 10 16:09:20 2016 +0100 @@ -31,9 +31,9 @@ class Semaphore { public: /** Create and Initialize a Semaphore object used for managing resources. - @param number of available resources; maximum index value is (count-1). + @param number of available resources; maximum index value is (count-1). (default: 0). */ - Semaphore(int32_t count); + Semaphore(int32_t count=0); /** Wait until a Semaphore resource becomes available. @param millisec timeout value or 0 in case of no time-out. (default: osWaitForever).