HelenOS sources
semaphore_initialize 47 kernel/generic/include/synch/semaphore.h extern void semaphore_initialize(semaphore_t *, int);
semaphore_initialize 54 kernel/generic/src/console/chardev.c semaphore_initialize(&indev->wq, 0);
semaphore_initialize 110 kernel/generic/src/main/kinit.c semaphore_initialize(&ap_completion_semaphore, 0);
semaphore_initialize 58 kernel/generic/src/synch/mutex.c semaphore_initialize(&mtx->sem, 1);
semaphore_initialize 73 kernel/test/synch/semaphore1.c semaphore_initialize(&sem, AT_ONCE);
semaphore_initialize 85 kernel/test/synch/semaphore2.c semaphore_initialize(&sem, 5);
HelenOS homepage, sources at GitHub