test the function of the semaphore

Dependencies:   mbed-rtos mbed

Fork of rtos_semaphore by mbed official

mbed-rtos.lib/shortlog@27ed86b056b1: not found in manifest