STOR_THREAD_PRIORITY enumeration (storport.h)
STOR_THREAD_PRIORITY specifies the priority for a StorPort miniport-created thread.
Syntax
typedef enum _STOR_THREAD_PRIORITY {
StorThreadPriorityBackground,
StorThreadPriorityNormal,
StorThreadPriorityDelayed,
StorThreadPriorityCritical,
StorThreadPrioritySuperCritical,
StorThreadPriorityHyperCritical,
StorThreadPriorityRealTime
} STOR_THREAD_PRIORITY, *PSTOR_THREAD_PRIORITY;
Constants
StorThreadPriorityBackground System priority level. The assigned priority level is 7. |
StorThreadPriorityNormal System priority level. The assigned priority level is 8. |
StorThreadPriorityDelayed Indicates an ordinary worker thread. The assigned priority level is 12. |
StorThreadPriorityCritical Indicates a real-time system worker thread. The assigned priority level is 13. |
StorThreadPrioritySuperCritical System priority level. The assigned priority level is 14. |
StorThreadPriorityHyperCritical System priority level. The assigned priority level is 15. |
StorThreadPriorityRealTime System priority level. The assigned priority level is 18. |
Remarks
A miniport sets thread priority when it calls StorPortCreateSystemThread to create a thread, and can change thread priority in StorPortSetPriorityThread.
Every thread has a scheduling priority (its thread priority). Higher values indicate higher priority threads.
See Thread Priorities for general information.
Requirements
Requirement | Value |
---|---|
Minimum supported server | Windows Server 2022 |
Header | storport.h |