ProcessLoop:
for (;;)
{
- /* Wait for Something to Happen on the Queue */
+ /* Wait for something to happen on the queue */
QueueEntry = KeRemoveQueue(&WorkQueue->WorkerQueue,
WaitMode,
TimeoutPointer);
*
* The ExpCreateWorkerThread routine creates a new worker thread for the
* specified queue.
- **
+ *
* @param QueueType
* Type of the queue to use for this thread. Valid values are:
* - DelayedWorkQueue
}
/*++
- * @name ExpCheckDynamicThreadCount
+ * @name ExpDetectWorkerThreadDeadlock
*
- * The ExpCheckDynamicThreadCount routine checks every queue and creates a
- * dynamic thread if the queue seems to be deadlocked.
+ * The ExpDetectWorkerThreadDeadlock routine checks every queue and creates
+ * a dynamic thread if the queue seems to be deadlocked.
*
* @param None
*
* @return None.
*
- * @remarks The algorithm for deciding if a new thread must be created is
- * based on wether the queue has processed no new items in the last
- * second, and new items are still enqueued.
+ * @remarks The algorithm for deciding if a new thread must be created is based
+ * on whether the queue has processed no new items in the last second,
+ * and new items are still enqueued.
*
*--*/
VOID
/*++
* @name ExpCheckDynamicThreadCount
*
- * The ExpCheckDynamicThreadCount routine checks every queue and creates a
- * dynamic thread if the queue requires one.
+ * The ExpCheckDynamicThreadCount routine checks every queue and creates
+ * a dynamic thread if the queue requires one.
*
* @param None
*