gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r4016 - GNUnet/src/applications/fs/lib


From: grothoff
Subject: [GNUnet-SVN] r4016 - GNUnet/src/applications/fs/lib
Date: Fri, 22 Dec 2006 17:19:09 -0800 (PST)

Author: grothoff
Date: 2006-12-22 17:19:07 -0800 (Fri, 22 Dec 2006)
New Revision: 4016

Modified:
   GNUnet/src/applications/fs/lib/fslib.c
Log:
deadlock

Modified: GNUnet/src/applications/fs/lib/fslib.c
===================================================================
--- GNUnet/src/applications/fs/lib/fslib.c      2006-12-23 00:58:22 UTC (rev 
4015)
+++ GNUnet/src/applications/fs/lib/fslib.c      2006-12-23 01:19:07 UTC (rev 
4016)
@@ -185,10 +185,10 @@
            ctx->handleCount == 0);
   ctx->abort = YES;
   connection_close_forever(ctx->sock);
+  MUTEX_UNLOCK(ctx->lock);
   PTHREAD_STOP_SLEEP(ctx->thread);
   PTHREAD_JOIN(ctx->thread,
               &unused);
-  MUTEX_UNLOCK(ctx->lock);
   ctx->lock = NULL;
   connection_destroy(ctx->sock);
   GROW(ctx->handles,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]