3 ms·
I think the C++ version of the zeromq library could initialize a context in a static initializer, and zmq contexts involve creating a thread.
by aidenn0 3y ago
I think the C++ version of the zeromq library could initialize a context in a static initializer, and zmq contexts involve creating a thread.
- grayhatter 3y agohttps://zeromq.org/get-started/?language=cpp# https://zeromq.org/get-started/?language=cpp# there's 5 listed for c++ which one creates threads before main()?
- aidenn0 3y agoIt's been a long time, so I might be wrong, but with zmqpp[1] make a global zmqpp::context and I believe it will create threads before main(). 1: https://github.com/zeromq/zmqpp https://github.com/zeromq/zmqpp