|
From: <sv...@va...> - 2010-05-13 08:11:00
|
Author: bart
Date: 2010-05-13 09:10:52 +0100 (Thu, 13 May 2010)
New Revision: 11130
Log:
Added an additional tl_assert() statement.
Modified:
trunk/drd/drd_semaphore.c
Modified: trunk/drd/drd_semaphore.c
===================================================================
--- trunk/drd/drd_semaphore.c 2010-05-13 06:32:36 UTC (rev 11129)
+++ trunk/drd/drd_semaphore.c 2010-05-13 08:10:52 UTC (rev 11130)
@@ -337,6 +337,7 @@
{
struct semaphore_info* p;
+ tl_assert(semaphore < semaphore + 1);
p = drd_semaphore_get_or_allocate(semaphore);
tl_assert(p);
p->waiters++;
|