On 01/01/2017 5:19 PM, Adam D. Ruppe wrote:
On Sunday, 1 January 2017 at 03:51:52 UTC, rikki cattermole wrote:
Which is fine if all you use is c's sockets or only that database
connection for a thread.
The C drivers typically offer handles of some sort (Windows HANDLE, *nix
file descriptor, that kind of thing) that you can integrate into other
event loops.
That's fine and all, but you've still got to deal with it on D's side so
you can mix and match libraries that require access to the same event
loop (such as Windows).