STOR_THREAD_PRIORITY列舉 (storport.h)
STOR_THREAD_PRIORITY 指定 StorPort 迷你埠建立線程的優先順序。
C++
typedef enum _STOR_THREAD_PRIORITY {
StorThreadPriorityBackground,
StorThreadPriorityNormal,
StorThreadPriorityDelayed,
StorThreadPriorityCritical,
StorThreadPrioritySuperCritical,
StorThreadPriorityHyperCritical,
StorThreadPriorityRealTime
} STOR_THREAD_PRIORITY, *PSTOR_THREAD_PRIORITY;
StorThreadPriorityBackground 系統優先順序層級。 指派的優先順序層級為7。 |
StorThreadPriorityNormal 系統優先順序層級。 指派的優先順序層級為8。 |
StorThreadPriorityDelayed 表示一般背景工作線程。 指派的優先順序層級為12。 |
StorThreadPriorityCritical 表示即時系統背景工作角色線程。 指派的優先順序層級為 13。 |
StorThreadPrioritySuperCritical 系統優先順序層級。 指派的優先順序層級為 14。 |
StorThreadPriorityHyperCritical 系統優先順序層級。 指派的優先順序層級為15。 |
StorThreadPriorityRealTime 系統優先順序層級。 指派的優先順序層級為18。 |
迷你埠會在呼叫 StorPortCreateSystemThread來設定線程優先順序,而且可以在 storPortSetPriorityThread變更線程優先順序。
每個線程都有排程優先順序(其線程優先順序)。 較高的值表示較高的優先順序線程。
如需一般資訊,請參閱 線程優先順序。
要求 | 價值 |
---|---|
支援的最低伺服器 | Windows Server 2022 |
標頭 | storport.h |