mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 02:36:13 +00:00
[NTOS]: Fix comments only, no code changes.
svn path=/trunk/; revision=70374
This commit is contained in:
parent
b555d0cffe
commit
b34568e9f6
1 changed files with 10 additions and 10 deletions
|
@ -141,7 +141,7 @@ ExpWorkerThreadEntryPoint(IN PVOID Context)
|
||||||
ProcessLoop:
|
ProcessLoop:
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
/* Wait for Something to Happen on the Queue */
|
/* Wait for something to happen on the queue */
|
||||||
QueueEntry = KeRemoveQueue(&WorkQueue->WorkerQueue,
|
QueueEntry = KeRemoveQueue(&WorkQueue->WorkerQueue,
|
||||||
WaitMode,
|
WaitMode,
|
||||||
TimeoutPointer);
|
TimeoutPointer);
|
||||||
|
@ -230,7 +230,7 @@ ProcessLoop:
|
||||||
*
|
*
|
||||||
* The ExpCreateWorkerThread routine creates a new worker thread for the
|
* The ExpCreateWorkerThread routine creates a new worker thread for the
|
||||||
* specified queue.
|
* specified queue.
|
||||||
**
|
*
|
||||||
* @param QueueType
|
* @param QueueType
|
||||||
* Type of the queue to use for this thread. Valid values are:
|
* Type of the queue to use for this thread. Valid values are:
|
||||||
* - DelayedWorkQueue
|
* - DelayedWorkQueue
|
||||||
|
@ -314,18 +314,18 @@ ExpCreateWorkerThread(WORK_QUEUE_TYPE WorkQueueType,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*++
|
/*++
|
||||||
* @name ExpCheckDynamicThreadCount
|
* @name ExpDetectWorkerThreadDeadlock
|
||||||
*
|
*
|
||||||
* The ExpCheckDynamicThreadCount routine checks every queue and creates a
|
* The ExpDetectWorkerThreadDeadlock routine checks every queue and creates
|
||||||
* dynamic thread if the queue seems to be deadlocked.
|
* a dynamic thread if the queue seems to be deadlocked.
|
||||||
*
|
*
|
||||||
* @param None
|
* @param None
|
||||||
*
|
*
|
||||||
* @return None.
|
* @return None.
|
||||||
*
|
*
|
||||||
* @remarks The algorithm for deciding if a new thread must be created is
|
* @remarks The algorithm for deciding if a new thread must be created is based
|
||||||
* based on wether the queue has processed no new items in the last
|
* on whether the queue has processed no new items in the last second,
|
||||||
* second, and new items are still enqueued.
|
* and new items are still enqueued.
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
VOID
|
VOID
|
||||||
|
@ -362,8 +362,8 @@ ExpDetectWorkerThreadDeadlock(VOID)
|
||||||
/*++
|
/*++
|
||||||
* @name ExpCheckDynamicThreadCount
|
* @name ExpCheckDynamicThreadCount
|
||||||
*
|
*
|
||||||
* The ExpCheckDynamicThreadCount routine checks every queue and creates a
|
* The ExpCheckDynamicThreadCount routine checks every queue and creates
|
||||||
* dynamic thread if the queue requires one.
|
* a dynamic thread if the queue requires one.
|
||||||
*
|
*
|
||||||
* @param None
|
* @param None
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue