test the function of the semaphore

Dependencies:   mbed-rtos mbed

Fork of rtos_semaphore by mbed official

mbed.bld/shortlog/shortlog@27ed86b056b1: not found in manifest