次の方法で共有


STOR_THREAD_PRIORITY列挙 (storport.h)

STOR_THREAD_PRIORITY は、StorPort ミニポートによって作成されたスレッドの優先順位を指定します。

構文

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

関連項目

StorPortCreateSystemThread

StorPortSetPriorityThread