Removed no longer correct assertion.

oldstable
Alexandre Julliard 2003-05-02 20:18:09 +00:00
parent 98cfe58dcf
commit d338b49574
1 changed files with 1 additions and 2 deletions

View File

@ -92,8 +92,7 @@ static unsigned int release_semaphore( obj_handle_t handle, unsigned int count )
}
else if (sem->count)
{
/* there cannot be any thread waiting if the count is != 0 */
assert( !sem->obj.head );
/* there cannot be any thread to wake up if the count is != 0 */
sem->count += count;
}
else