mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
4b10dc453a
This is meant to help with the following scenario: main thread creates secondary threads, each secondary thread asks the context store for its own context, then goes into a "forever" scheduling loop. Main thread waits for the secondary threads to finish, and owns the context store. It would be nice to be able to have yet another thread (say, a SIGINT handler) be able to call .stop() on all the contexts managed by the context store, thus being able to end the loops in the secondary threads and allow the main thread to exit. Signed-off-by: Razvan Cojocaru <razvan.cojocaru@openvpn.com> |
||
---|---|---|
.. | ||
asioboundsock.hpp | ||
asiocontext.hpp | ||
asioerr.hpp | ||
asiopolysock.hpp | ||
asioresolverres.hpp | ||
asiosignal.hpp | ||
asiostop.hpp | ||
asiowork.hpp | ||
scoped_asio_stream.hpp |