test the function of the semaphore

Dependencies:   mbed-rtos mbed

Fork of rtos_semaphore by mbed official

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