Skip to content
Snippets Groups Projects
Commit 2db0741b authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Vladimir Davydov
Browse files

coio: return fd from coio_connect

coio_connect sets fd in ev_io passed to it. Let's return fd explicitly
and remove the ev_io argument (we can use coio_wait, which creates a
temporary ev_io object, inside coio_connect - it's cheap).

This is a step towards hiding all ev_io manipulations in coio internals
so that coio users don't have to deal with ev_io directly.
parent 17c50a42
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment