started test when_signal_thread_waiting_for_semaphore.c