typelevel / typelevel/cats-effect
Make the `WorkStealingThreadPool` be an `IORuntime`
Open
@vasilmkd is already working on this.
Since Dec 18, 2021.
- Dominant language
- Scala
- Stars
- 2.2k
- Forks
- 576
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 18
Description
The inheritance is yet to be determined properly.
- The
WSTPis a compute pool. - The
WSTPhas good support for blocking, and we can cache the threads that were used for blocking, similar to a cached thread pool. - We already want to give the
WSTPscheduler capabilities. - This will solve the situation where creating a
WSTPneeds a forward reference to the runtime it is in.
I will work on this in the coming months.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.