Commented out a sleep statement
authorDennis Schafroth <dennis@indexdata.com>
Tue, 12 Apr 2011 10:44:03 +0000 (12:44 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 12 Apr 2011 10:44:03 +0000 (12:44 +0200)
src/client.c

index 89858d6..2dced61 100644 (file)
@@ -787,7 +787,9 @@ void client_lock(struct client *c)
 void client_unlock(struct client *c)
 {
     yaz_mutex_leave(c->mutex);
+    /* TODO possible threading issue
     sleep(1);
+    */
 }
 
 void client_incref(struct client *c)