On Mon, 2016-03-28 at 17:28 +0200, Graham Leggett wrote: > On 28 Mar 2016, at 4:59 PM, Andrew Stitcher <[email protected]> > wrote: > > > > > On Sun, 2016-03-27 at 02:50 +0200, Graham Leggett wrote: > > > > > > ... (A bunch of questions about proton's internal io routines.) > > The real question is what you are doing that you need to use > > pn_selectable at all? > QPid must share an event loop with other events, and so is being > called from an external select/poll.
I assume you mean Qpid Proton. If you have your own event loop then you don't really need all the apparatus of pn_reactor() and in principle can feed the proton core engine directly. However as you say this scenario is "thinly supported". The currently developing C++ API connection_engine is really better suited for this purpose, although it is under heavy development right now and so isn't in a very stable state. Unfortunately there is currently no good way of doing this if you really need to use C rather than C++. So yes, you may unfortunately need to mess with the internals of pn_reactor. I think you may become the expert in these parts (besides the original author of the code). Sorry that isn't very helpful. Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
