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

Function umtx_unlock_val

freebsd/kern/kern_umtx.c:794–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794static uint32_t
795umtx_unlock_val(uint32_t flags, bool rb)
796{
797
798 if (rb)
799 return (UMUTEX_RB_OWNERDEAD);
800 else if ((flags & UMUTEX_NONCONSISTENT) != 0)
801 return (UMUTEX_RB_NOTRECOV);
802 else
803 return (UMUTEX_UNOWNED);
804
805}
806
807/*
808 * Put thread into sleep state, before sleeping, check if

Callers 3

do_unlock_normalFunction · 0.85
do_unlock_piFunction · 0.85
do_unlock_ppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected