[ros-dev] Race Condition?
hartmut.birr at gmx.de
Sat Nov 6 09:27:57 CET 2004
I would like if you can commit this changes or can send me a diff. The race
condition between the two locks is one of the major problems on smp
machines. An other problem is the registry. Some registry functions are not
thread safe, which results in wrong values and very often in a crash.
> -----Original Message-----
> From: ros-dev-bounces at reactos.com
> [mailto:ros-dev-bounces at reactos.com] On Behalf Of Thomas Weidenmueller
> Sent: Friday, November 05, 2004 5:47 PM
> To: ReactOS Development List
> Subject: Re: [ros-dev] Race Condition?
> 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.
> Ros-dev mailing list
> Ros-dev at reactos.com
More information about the Ros-dev