Maintain legacy RTOS behavior before mbed-5

Fork of mbed-rtos by mbed official

Revision:
119:19af2d39a542
Parent:
31:015df9e602b6
Child:
123:58563e6cba1e
--- 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).