[ros-diffs] [ion] 20823: Fix boost loop

ion at svn.reactos.org ion at svn.reactos.org
Fri Jan 13 01:15:51 CET 2006


Fix boost loop
Modified: trunk/reactos/ntoskrnl/ex/resource.c
  _____  

Modified: trunk/reactos/ntoskrnl/ex/resource.c
--- trunk/reactos/ntoskrnl/ex/resource.c	2006-01-12 22:16:04 UTC
(rev 20822)
+++ trunk/reactos/ntoskrnl/ex/resource.c	2006-01-13 00:15:31 UTC
(rev 20823)
@@ -707,9 +707,13 @@

                     Size = Owner->TableSize;
                     for (i = 1; i < Size; i++)
                     {
-                        /* Boot every thread in the table */
-                        OwnerThread = (PKTHREAD)
-
Resource->OwnerThreads[1].OwnerThread;
+                        /* Move to next entry */
+                        Owner++
+
+                        /* Get the thread */
+                        OwnerThread =
(PKTHREAD)OwnerEntry->OwnerThread;
+
+                        /* Boost it */
                         if (OwnerThread) ExpBoostOwnerThread(Thread,
OwnerThread);
                     }
                 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20060113/cc4a2406/attachment.html


More information about the Ros-diffs mailing list