> From: Taylor R Campbell <campb...@mumble.net> > Date: Thu, 16 May 2013 20:58:54 +0000 > > This morning I threw together a binding to sqlite3. [...] it needs > to integrate with the thread system using sqlite3_interrupt and > sqlite3_progress_handler
That is somewhat the opposite of the GIO interface, whose _async functions return immediately. A callback signals when the requested operation is finished. Thus the main thread is free to do its thing. The callback is short, just collects results. There is no need to run the whole system, thread-switching, inside another mainloop's _progress_handler... ick. _______________________________________________ MIT-Scheme-devel mailing list MIT-Scheme-devel@gnu.org https://lists.gnu.org/mailman/listinfo/mit-scheme-devel