Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flow.async: In ..._task_loop, need a way to supply thread attributes at instantiation (minimally, stack size). #64

Open
ygoldfeld opened this issue Mar 9, 2024 · 0 comments
Labels
enhancement New feature or request from-akamai-pre-open Issue origin is Akamai, before opening source

Comments

@ygoldfeld
Copy link
Contributor

@ygoldfeld quoting colleague who filed this pre-open-source (I have not contemplated it):

Thread attributes:
Need a way to specify thread attributes for the worker pool threads using boost::thread::attributes
A server could e.g. create approximately 3000 threads for disk I/O, so we want to keep the thread stack sizes small (128KB). At the moment the only requirement is to set worker thread stack size.
Naming the thread looks like it has already been taken care of.

@ygoldfeld adds: See also #61 -- is it related/possible to do similarly?

@ygoldfeld ygoldfeld added enhancement New feature or request from-akamai-pre-open Issue origin is Akamai, before opening source labels Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request from-akamai-pre-open Issue origin is Akamai, before opening source
Projects
None yet
Development

No branches or pull requests

1 participant