test the function of the semaphore

Dependencies:   mbed-rtos mbed

Fork of rtos_semaphore by mbed official

no such method: tip