I don't understand why you think my changes are not correct?
 
The previous impl. crashed when compiling ros-on-ros, due to semaphore limit overflow and increasing the limit would only be a dirty hack. The semaphore was not the right tool for this job.
 
Gunnar
 
-----Original Message-----
From: ros-dev-bounces@reactos.com [mailto:ros-dev-bounces@reactos.com] On Behalf Of Hartmut Birr
Sent: Tuesday, November 16, 2004 6:39 PM
To: ReactOS Development List
Subject: [ros-dev] RE: [ros-diffs] [CVS reactos] fix broken work item impl.

Hi Gunnar,
 
for synchronisation between an unlimited count of objects (or 256) in a wait queue and more than one waiters which removes this objects, there _must_ be used a semaphore (or equivalent code). Please revert your changes.