Comments (4)
I don't like thread_group class. IIRC I deprecated it, but maybe I'm wrong.
What is missing with a vector of threads. What make threads different that need a specific container?
from thread.
I don't think it's deprecated in the documentation. Thanks for your comment; I moved away from using thread_group
. I must agree it does not have much more beyond a straight std::vector<boost::thread>
.
If you're not going to improve the class and if you think it does not buy much over std::vector
, I would suggest deprecating it in the documentation to make it clear that users are discouraged from using it. Otherwise (and especially since it's marked as experimental), users may think that it's something that will be expanded in the future and even possibly proposed for standardization.
from thread.
I don't think the standard will be interested by a thread_group. But if you believe it is worth improving it, I would accept a PR.
from thread.
What I'm proposing is to mark it as deprecated.
from thread.
Related Issues (20)
- Memory leak issue in reset() function from boost::thread_specific_ptr
- Aboated at boost::polygon::polygon_set_data<long long>::get() HOT 1
- boost::thread_v2::upgrade_mutex corrupted when thread is interrupted
- synchronized_value documentation example fails to compile
- does synchronized_value support reader/writer locks?
- Undefined symbol "boost::this_thread::interruption_point()"
- Static library naming error for static libs
- basic_thread_pool.hpp and MinGW
- ls
- Destruction of boost::thread functor is later than with std::thread
- x86 inline assembly should provide an alternative for Intel syntax
- Crash in try_join_for on mac
- CMake link of a non-existent file failed in VS 2022 HOT 5
- boost 1.72 on Ubuntu 22.04 -- ./boost/thread/pthread/thread_data.hpp:60:5: error: missing binary operator before token "("
- trying to install pcl 1.9.1 from source in Ubuntu 22.04 throws boost error -- from /home/mona/Downloads/pcl-pcl-1.9.1/io/src/ply/ply_parser.cpp:41: /usr/local/include/boost/thread/pthread/thread_data.hpp:60:5: error: missing binary operator before token "(" 60 | #if PTHREAD_STACK_MIN > 0
- Please clarify the license of various boost/thread/detail headers
- MFC Application's AfxGetModuleState() Changes after Linking Boost Thread Static Library to My DLL
- sync_queue missing include when setting BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS
- condition_variable_any stuck waiting
- Modular Boost C++ Libraries Request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thread.