Site icon EfmSoft

What does NTSTATUS 0xC000071B (STATUS_CALLBACK_RETURNED_THREAD_PRIORITY) mean?

 
Previous Next
STATUS_PORT_ALREADY_HAS_COMPLETION_LIST STATUS_INVALID_THREAD

STATUS_CALLBACK_RETURNED_THREAD_PRIORITY

The callback leaked a thread-priority change

The Windows thread pool reuses workers across unrelated workloads. A callback that calls SetThreadPriority changes scheduling state on the physical worker, not only on the logical work item. Returning with a different base priority biases later callbacks and can cause starvation, latency spikes, or unexpected CPU consumption.

Callback priority configured through the thread-pool environment is different from mutating the worker thread directly. Prefer the callback-environment mechanism when the intent is to prioritize work relative to other pool items, and restore any unavoidable thread-level change before returning.

What to inspect

References


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

Exit mobile version