gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r16333 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r16333 - gnunet/src/util
Date: Tue, 2 Aug 2011 17:41:20 +0200

Author: grothoff
Date: 2011-08-02 17:41:19 +0200 (Tue, 02 Aug 2011)
New Revision: 16333

Modified:
   gnunet/src/util/scheduler.c
Log:
force passing of sanity check

Modified: gnunet/src/util/scheduler.c
===================================================================
--- gnunet/src/util/scheduler.c 2011-08-02 14:59:45 UTC (rev 16332)
+++ gnunet/src/util/scheduler.c 2011-08-02 15:41:19 UTC (rev 16333)
@@ -1,6 +1,6 @@
 /*
       This file is part of GNUnet
-      (C) 2009 Christian Grothoff (and other contributing authors)
+      (C) 2009, 2011 Christian Grothoff (and other contributing authors)
 
       GNUnet is free software; you can redistribute it and/or modify
       it under the terms of the GNU General Public License as published
@@ -786,9 +786,11 @@
                                      task_cls,
                                      GNUNET_SCHEDULER_REASON_STARTUP);
 #if ENABLE_WINDOWS_WORKAROUNDS
+  active_task = (void*) (long) -1; /* force passing of sanity check */
   GNUNET_SCHEDULER_add_now_with_lifeness (GNUNET_NO,
                                          
&GNUNET_OS_install_parent_control_handler,
                                          NULL);
+  active_task = NULL;
 #endif
   last_tr = 0;
   busy_wait_warning = 0;




reply via email to

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