| Previous | Next |
| KERN_INVALID_SECURITY | KERN_TERMINATED |
KERN_NOT_DEPRESSED
No active scheduling depression to cancel
KERN_NOT_DEPRESSED is tied to the historical Mach scheduling-depression mechanism. thread_depress_abort cancels a depression caused by thread_switch; this result means that no such active depression was present for the target thread when the abort was attempted.
The condition can be a normal timing outcome: the depression may already have expired, the thread may have run, or another path may have cleared it. It is not evidence that the target thread is blocked, terminated, or permanently low priority.
What to inspect
- Log the original
thread_switchoption and requested duration together with the later abort attempt. - Capture the target thread lifecycle and scheduler state at both points.
- Use an idempotent cleanup policy when the caller only needs to ensure that no depression remains.
- Do not reinterpret this code as a user-space thread-priority failure.
References
- Apple XNU: kern_return.h
- Mach Kernel Interface Reference: thread_depress_abort
- Apple Kernel Programming Guide: Mach scheduling and thread interfaces
Looking for a different code? Search another status or error code.