MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sys_ksem_trywait

Function sys_ksem_trywait

freebsd/kern/uipc_sem.c:800–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

798};
799#endif
800int
801sys_ksem_trywait(struct thread *td, struct ksem_trywait_args *uap)
802{
803
804 return (kern_sem_wait(td, uap->id, 1, NULL));
805}
806
807static int
808kern_sem_wait(struct thread *td, semid_t id, int tryflag,

Callers

nothing calls this directly

Calls 1

kern_sem_waitFunction · 0.85

Tested by

no test coverage detected