gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r5668 - in GNUnet: m4 src/applications/fs/fsui src/server


From: gnunet
Subject: [GNUnet-SVN] r5668 - in GNUnet: m4 src/applications/fs/fsui src/server
Date: Sat, 29 Sep 2007 15:25:55 -0600 (MDT)

Author: grothoff
Date: 2007-09-29 15:25:54 -0600 (Sat, 29 Sep 2007)
New Revision: 5668

Modified:
   GNUnet/m4/Makefile.in
   GNUnet/src/applications/fs/fsui/download.c
   GNUnet/src/server/handler.c
Log:
stop

Modified: GNUnet/m4/Makefile.in
===================================================================
--- GNUnet/m4/Makefile.in       2007-09-27 20:23:54 UTC (rev 5667)
+++ GNUnet/m4/Makefile.in       2007-09-29 21:25:54 UTC (rev 5668)
@@ -130,6 +130,7 @@
 PKG_CONFIG = @PKG_CONFIG@
 POSUB = @POSUB@
 RANLIB = @RANLIB@
+SED = @SED@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 SQLITE_CPPFLAGS = @SQLITE_CPPFLAGS@

Modified: GNUnet/src/applications/fs/fsui/download.c
===================================================================
--- GNUnet/src/applications/fs/fsui/download.c  2007-09-27 20:23:54 UTC (rev 
5667)
+++ GNUnet/src/applications/fs/fsui/download.c  2007-09-29 21:25:54 UTC (rev 
5668)
@@ -568,6 +568,7 @@
               "Download thread manager collects inactive download of file 
`%s'\n",
               list->filename);
 #endif
+      PTHREAD_STOP_SLEEP (list->handle);
       PTHREAD_JOIN (list->handle, &unused);
       list->handle = NULL;
       list->ctx->activeDownloadThreads--;
@@ -658,6 +659,7 @@
       (dl->state == FSUI_ABORTED) || (dl->state == FSUI_ERROR))
     {
       GE_ASSERT (ctx->ectx, dl->handle != NULL);
+      PTHREAD_STOP_SLEEP (dl->handle);
       PTHREAD_JOIN (dl->handle, &unused);
       MUTEX_LOCK (ctx->lock);
       dl->ctx->activeDownloadThreads--;

Modified: GNUnet/src/server/handler.c
===================================================================
--- GNUnet/src/server/handler.c 2007-09-27 20:23:54 UTC (rev 5667)
+++ GNUnet/src/server/handler.c 2007-09-29 21:25:54 UTC (rev 5668)
@@ -45,7 +45,7 @@
  * Track how much time was spent on each
  * type of message?
  */
-#define MEASURE_TIME NO
+#define MEASURE_TIME YES
 
 /**
  * Should we validate that handlers do not





reply via email to

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