From d338b49574f42f7c6230d55e45c5f76f5d6ecccb Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 2 May 2003 20:18:09 +0000 Subject: [PATCH] Removed no longer correct assertion. --- server/semaphore.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/semaphore.c b/server/semaphore.c index 99f41f33dce..599ce6808ad 100644 --- a/server/semaphore.c +++ b/server/semaphore.c @@ -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