From 7439123ffd66a592db3ce48f4c4ddcf788545af9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 12 Apr 2010 06:54:21 +0000 Subject: [PATCH] notes --- TODO | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 868cc5b62..4a04fe5e7 100644 --- a/TODO +++ b/TODO @@ -88,7 +88,14 @@ - API lacks cancellation methods (needed? or is disconnect enough?); may also want to integrate request queuing here instead of gnunet-service-fs_drq.c * GNUNET-GTK: - - how to integrate scheduler with GTK event loop!? + - use g_main_context_set_poll_func to integrate GTK with GNUnet Scheduler!? (YUCK!) + - OR: add scheduler API to enable integration with GTK main loop instead of doing our own select + - use g_main_context_pending, g_main_context_query / g_main_context_check / g_main_context_dispatch + and NEVER g_main_loop_run (can this be done? might be the clean way to do this! But how + to integrate this with "tak_main"? Docu says: + "It's OK to use the GLib main loop directly instead of gtk_main(), though it involves + slightly more typing. See GMainLoop in the GLib documentation." + => so maybe it "just works"? 0.9.0pre2: * TRACEKIT: [MW] -- 2.25.1