Searched refs:sem_trywait (Results 1 – 25 of 47) sorted by relevance
12
69 sem_trywait(&sem2); in main()89 sem_trywait(&sem2); in main()99 sem_trywait(&sem2); in main()
13 while (sem_trywait(sem)) { in __sem_timedwait()31 if (!sem_trywait(sem)) return 0; in sem_timedwait()
14 while (sem_trywait(sem)) { in __sem_timedwait()33 if (!sem_trywait(sem)) return 0; in sem_timedwait()
4 int sem_trywait(sem_t *sem) in sem_trywait() function
123 ret = sem_trywait(sem_linked); in main()136 ret = sem_trywait(sem_unlinked); in main()
246 if (sem_trywait(sem) == 0) in sem_timedwait_save()340 res = sem_trywait(self->handle); in _multiprocessing_SemLock_acquire_impl()405 if (sem_trywait(self->handle) < 0) { in _multiprocessing_SemLock_release_impl()640 if (sem_trywait(self->handle) < 0) { in _multiprocessing_SemLock__is_zero_impl()
36 if (sem_trywait(&mysemp) == -1) { in main()
41 if (sem_trywait(mysemp) == -1) { in main()
41 if ((sem_trywait(mysemp) == -1) && (errno == EAGAIN)) { in main()
42 if (sem_trywait(mysemp) == -1) { in main()
11 {int(*p)(sem_t*) = sem_trywait;} in f()
28 int sem_trywait(sem_t *);
27 int sem_trywait(sem_t *);
30 int sem_trywait(sem_t *);
43 if (sem_trywait(mysemp) == -1) { in main()
48 if (sem_trywait(mysemp) == -1) { in main()
71 int sem_trywait(UV_PLATFORM_SEM_T* semid);
81 return (sem_trywait(sem) == 0); in deSemaphore_tryDecrement()
105 return (sem_trywait(sem) == 0); in deSemaphore_tryDecrement()
45 TEST(sem_trywait(sem) == -1 && errno == EAGAIN, in main()