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

Ctx can now be provided a thread factory #942

Merged
merged 1 commit into from Jan 22, 2023

Conversation

fbacchella
Copy link
Contributor

Ctx can now be provided a thread factory, that can used to tweaks thr…eads.

The main purpose of this is to be able to bind thread to CPU using external libraries like https://github.com/OpenHFT/Java-Thread-Affinity.

The idea was suggested by issue #910

Also adding a check that prevent modifications of some settings once they have been used by Ctx initialisation.

…eads.

The main purpose of this is to be able to bind thread to CPU using external
libraries like https://github.com/OpenHFT/Java-Thread-Affinity.

Also adding a check that prevent modifications of some settings once they
have been used by Ctx initialisation.
@ipechorin ipechorin merged commit d39421e into zeromq:master Jan 22, 2023
@fbacchella fbacchella deleted the thread_factory branch January 23, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants