GithubHelp home page GithubHelp logo

Comments (4)

viboes avatar viboes commented on July 17, 2024

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.

ldionne avatar ldionne commented on July 17, 2024

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.

viboes avatar viboes commented on July 17, 2024

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.

ldionne avatar ldionne commented on July 17, 2024

What I'm proposing is to mark it as deprecated.

from thread.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.