HelenOS sources

semaphore_trydown   49 kernel/generic/include/synch/semaphore.h extern errno_t semaphore_trydown(semaphore_t *);
semaphore_trydown   69 kernel/generic/src/synch/mutex.c 	errno_t rc = semaphore_trydown(&mtx->sem);
semaphore_trydown   84 kernel/generic/src/synch/mutex.c 	while (semaphore_trydown(&mtx->sem) != EOK) {
HelenOS homepage, sources at GitHub