mit-scheme-devel
[Top][All Lists]
Advanced

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

[MIT-Scheme-devel] sqlite3


From: Matt Birkholz
Subject: [MIT-Scheme-devel] sqlite3
Date: Sat, 18 May 2013 14:31:12 -0700

> From: Taylor R Campbell <address@hidden>
> 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.



reply via email to

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