Skip to content

example : thread pool + increase asio threads #238

@madkote

Description

@madkote

I am looking for minimal example:

  • dispatch cpu work function on a thread pool
  • how to increase asio threads (cobalt is single threaded, but in plain asio additional io threads can be added with io_threads.emplace_back([&io_main]() { io_main.run(); };)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions