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

Initialize job threads as needed #10

Open
ruricolist opened this issue Apr 21, 2019 · 0 comments
Open

Initialize job threads as needed #10

ruricolist opened this issue Apr 21, 2019 · 0 comments

Comments

@ruricolist
Copy link
Owner

While initializing the thread pool is done lazily (speeding up null builds), it's still all-or-nothing. It would be better if we only initialized threads as needed (returning them to the pool).

This would require moving the job thread pool away from Lparallel. Since we don't use Lparallel's scheduler anyway, the tricky part would be to imitate Lparallel's technique for referring errors from worker threads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant