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
Header storport.h

こちらもご覧ください

StorPortCreateSystemThread

StorPortSetPriorityThread