On Fri, 2017-03-24 at 14:06 +0530, Venkat B wrote: > Good day, > > ---------- Forwarded message ---------- > > From: Alan Conway <[email protected]> > > To: [email protected] > > Cc: > > Bcc: > > Date: Wed, 22 Mar 2017 14:09:00 -0400 > > Subject: Re: [qpid-proton-cpp] default_container does not implement > > thread > > safety at all? > > > > [snip] > > > > And to be clear this is abuse to hack out of a short-term hole - we > > will have a properly behaved solution soon. > > > > > > Do you have something that I could test? > The code in examples/cpp/mt does not compile out of the box on 0.17.0 > and > in case it is being redesigned anyway then I would prefer to work > with the > new API. >
I defer to astitcher on the current state of the examples. The API isn't changing significantly, the code in mt/broker.cpp will still be correct with only minor changes if any. The code in epoll_container.cpp will also still be basically unchanged but writing a custom container will no longer be necessary for most cases: the default_container will be thread-safe and we will have epoll-native, iocp-native and libuv flavours to cover most needs. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
