CG: Note: this should not stand; temporary hack.
const struct
GNUNET_SCHEDULER_TaskContext * tc);
+/**
+ * Called everty time the parent process sends a signal
+ */
+void
+parent_control_handler (void *cls,
+ const struct
+ GNUNET_SCHEDULER_TaskContext * tc);
/**
* Check whether an executable exists and possibly
* @param cls the 'struct GNUNET_DISK_FileHandle' of the control pipe
* @param tc scheduler context
*/
-static void
+void
parent_control_handler (void *cls,
const struct
GNUNET_SCHEDULER_TaskContext * tc)
#endif
last_tr = 0;
busy_wait_warning = 0;
- while ((pending != NULL) ||
+ while ((pending != NULL
+#if ENABLE_WINDOWS_WORKAROUNDS
+ && (pending->callback != parent_control_handler || pending->next != NULL)
+#endif
+ ) ||
(pending_timeout != NULL) ||
(ready_count > 0))
{