[ros-dev] Race Condition?

Alex Ionescu ionucu at videotron.ca
Fri Nov 5 16:54:51 CET 2004


Thomas Weidenmueller wrote:

> Filip Navara wrote:
>
>> I belive there is only one lock (the dispatcher lock) on Windows (<= 
>> XP).
>
>
> That's true - i already prepared the thread management for that. The 
> current lock could be renamed to the dispatcher lock - when 
> inserting/removing threads from a process, the process should be just 
> locked during the action. I have written a patch for the process 
> locking mechanism that win2k uses - but Alex prefers to "upgrade" to 
> xp and use pushlocks which aren't implemented yet.
>
>> P.S. The thread dispatching that is currently in Ps should be moved 
>> to Ke.
>
>
> I agree, and not just that, also everything that has to do with the 
> KTHREAD/KPROCESS structures should be moved there.

And Ke should stop using Ps functions.

>
> Thomas
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.com
> http://reactos.com:8080/mailman/listinfo/ros-dev
>
Best regards,
Alex Ionescu


More information about the Ros-dev mailing list