I'm looking to create a new event type, as I'd like to use the postgresql 
async interface in an event-based manner.

I know it could be done using a timer, and probe the active connections. 
 It seems silly to poll, when you can actually watch the postgresql file 
descriptor (usually a socket) to see if there's updates from an async call.

So, what I'm looking to know: what's the most reasonable way to extend 
libuv to add an interface like this?  I'm figuring I can base it off 
something like the tcp code.

Or, if there's already a general interface for watching a socket, given the 
socket id.  I could utilize that as well.

If someone could point me in a good direction, it'd be appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to