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

Add way to create a custom threadpool #53915

Open
IanButterworth opened this issue Apr 1, 2024 · 1 comment
Open

Add way to create a custom threadpool #53915

IanButterworth opened this issue Apr 1, 2024 · 1 comment
Labels
multithreading Base.Threads and related functionality

Comments

@IanButterworth
Copy link
Member

It would be useful for application-level control to be able to create a threadpool for a dedicated purpose.

i.e.

$ julia --threadpools=interactive,default,foo -t1,2,3
julia> Threads.@spawn :foo foo()
@IanButterworth IanButterworth added the multithreading Base.Threads and related functionality label Apr 1, 2024
@adienes
Copy link
Contributor

adienes commented Apr 1, 2024

see also: JuliaFolds2/OhMyThreads.jl#75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multithreading Base.Threads and related functionality
Projects
None yet
Development

No branches or pull requests

2 participants