typelevel / typelevel/cats-effect

Make the `WorkStealingThreadPool` be an `IORuntime`

Open
#2,664 0 comments 2 reactions 1 assignee View on GitHub

@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.

  1. The WSTP is a compute pool.
  2. The WSTP has good support for blocking, and we can cache the threads that were used for blocking, similar to a cached thread pool.
  3. We already want to give the WSTP scheduler capabilities.
  4. This will solve the situation where creating a WSTP needs a forward reference to the runtime it is in.

I will work on this in the coming months.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.