Searched refs:mySemaphore (Results 1 – 1 of 1) sorted by relevance
17 sem_t mySemaphore; in main() local18 if (sem_init(&mySemaphore, 0, 0) != 0) in main()22 if (sem_trywait(&mySemaphore) != 0) { in main()31 if (sem_destroy(&mySemaphore) != 0) in main()