mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Remove the thread from the list when terminating.
svn path=/trunk/; revision=14763
This commit is contained in:
@@ -1137,6 +1137,9 @@ KeTerminateThread(IN KPRIORITY Increment)
|
||||
/* Lock the Dispatcher Database and the APC Queue */
|
||||
DPRINT("Terminating\n");
|
||||
OldIrql = KeAcquireDispatcherDatabaseLock();
|
||||
|
||||
/* Remove the thread from the list */
|
||||
RemoveEntryList(&Thread->ThreadListEntry);
|
||||
|
||||
/* Insert into the Reaper List */
|
||||
DPRINT("List: %p\n", PspReaperList);
|
||||
|
||||
Reference in New Issue
Block a user