[ros-dev] Mayday ... Critical Section problems

Rick Parrish rfmobile at swbell.net
Wed Nov 1 03:22:59 CET 2006


Christian Wallukat wrote:
> I have a problem with CriticalSection / InterlockIncrement / Decrement on
> WinXP (sorry for bother but maybe it is also important for us):
>   
Try this ... add a call to Sleep(0) just before attempting to acquire 
the lock. That *may* produce better average performance.

-rick


More information about the Ros-dev mailing list