We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d89c3c1 + 0140dc2 commit 518afaeCopy full SHA for 518afae
rtos/rtos/Semaphore.h
@@ -31,9 +31,9 @@ namespace rtos {
31
class Semaphore {
32
public:
33
/** Create and Initialize a Semaphore object used for managing resources.
34
- @param number of available resources; maximum index value is (count-1).
+ @param number of available resources; maximum index value is (count-1). (default: 0).
35
*/
36
- Semaphore(int32_t count);
+ Semaphore(int32_t count=0);
37
38
/** Wait until a Semaphore resource becomes available.
39
@param millisec timeout value or 0 in case of no time-out. (default: osWaitForever).
0 commit comments