notes
authorChristian Grothoff <christian@grothoff.org>
Mon, 12 Apr 2010 06:54:21 +0000 (06:54 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 12 Apr 2010 06:54:21 +0000 (06:54 +0000)
TODO

diff --git a/TODO b/TODO
index 868cc5b6221cf01a39de746b379d5d0294ed884a..4a04fe5e726b47dc60244e6a5a66a31de4a40b6a 100644 (file)
--- a/TODO
+++ b/TODO
   - 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]