test the function of the semaphore

Dependencies:   mbed-rtos mbed

Fork of rtos_semaphore by mbed official

mbed-rtos.lib/shortlog/shortlog@0acf7ac363a8: not found in manifest