Lines Matching full:semaphore
11 #include <semaphore.h>
39 /* TESTPOINT: Check if semaphore value is as set */ in semaphore_test()
61 /* TESTPOINT: Semaphore is already acquired, check if in semaphore_test()
62 * no semaphore is available in semaphore_test()
67 zassert_equal(sem_destroy(sem), 0, "semaphore is not destroyed"); in semaphore_test()
75 "acquired semaphore" in semaphore_test()
79 /* TESTPOINT: take semaphore which is initialized with 1 */ in semaphore_test()
84 /* TESTPOINT: Wait and acquire semaphore till thread2 gives */ in semaphore_test()
99 " invalid semaphore object didn't fail"); in ZTEST()
105 " semaphore is destroyed"); in ZTEST()
210 /* O_CREAT and O_EXCL are set and the named semaphore already exists */ in ZTEST()
268 /* Destruction of sem1 will be postponed until all references to the semaphore have been in ZTEST()
297 /* Create a new named sem to be used in the normal semaphore test */ in ZTEST()
302 /* Run the semaphore test with the created named semaphore */ in ZTEST()