On Sun, Nov 15, 2009 at 07:05:27PM -0500, Evan Jones wrote:
> Spawn a "libdrizzle event thread", which will call
> drizzle_con_wait() in a loop. This can append events to a
> thread-safe queue, and wake my main event thread via a socketpair().
> My main event thread will use libdrizzle to send queries and get
> responses.

You should be able to get the fd from libdrizzle and use it in
select/poll/epoll in your event loop. I'm pretty sure this is what
Eric has in mind with these API calls.


-- 
Stewart Smith

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to