Site icon EfmSoft

What does macOS kernel return 40 (KERN_LOCK_OWNED) mean?

 
Could be also:
ConstantTypeOS
ippStsWrongIntersectVOIIntel Ipp StatusAny
ELOOPerrnoLinux
EMSGSIZEerrnoMac
EL3RSTerrnoSolaris
ENOSYSerrnoWindows
CORRUPT_ACCESS_TOKENBugCheck CodeWindows
Previous Next
KERN_LOCK_UNSTABLE KERN_LOCK_OWNED_SELF

KERN_LOCK_OWNED

Contention on a valid lock

KERN_LOCK_OWNED means that another thread owns the lock at the time of the request. Unlike KERN_LOCK_UNSTABLE, the reported owner has not disappeared; unlike KERN_LOCK_OWNED_SELF, the caller is not attempting a conflicting operation on its own lock.

The return value is a concurrency observation, not proof of a deadlock. Its significance depends on the expected critical-section duration and on whether the API provides waiting, try-lock, or explicit scheduling behavior.

What to inspect

References


Looking for a different code? Search another status or error code.

Exit mobile version