Hi Rick,
you are right, the average performance was better, but there are also
many requests which are time out ...
Do you have another idea ?
BTW: Can you explain what a Sleep(0) does ?
(Whats the background ?)
I have no clue ...
I used lock xadd...
Kind regards
Christian
-----Ursprüngliche Nachricht-----
Von: ros-dev-bounces(a)reactos.org [mailto:ros-dev-bounces@reactos.org] Im
Auftrag von Rick Parrish
Gesendet: Mittwoch, 1. November 2006 03:23
An: ReactOS Development List
Betreff: Re: [ros-dev] Mayday ... Critical Section problems
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
_______________________________________________
Ros-dev mailing list
Ros-dev(a)reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.21/509 - Release Date: 31.10.2006