test the function of the semaphore

Dependencies:   mbed-rtos mbed

Fork of rtos_semaphore by mbed official

mbed-rtos.lib/shortlog@02e47d35a686: not found in manifest