[ros-dev] [ros-diffs] [mjmartin] 47393: [win32k] - The timer is created usingUserCreateObject. It may be a good idea to save the handle in the timer object so that it can be deleted later. - Dereference the object before attempting to delete it.

Timo Kreuzer timo.kreuzer at web.de
Mon May 31 05:41:03 CEST 2010


Ged Murphy wrote:
> I've spoken to Mike about this, apparently the lock is held much
> higher in the call chain (EnterUserExclusive), which isn't obvious in
> the patch.
> Sounds like a pretty inefficient lock though.
Yes and exactly the way it's done in Windows. All USER code is guarded
by one huge lock.
For now it's fine, maybe once we get SMP ready, we can work out a better
solution.





More information about the Ros-dev mailing list