facebook / facebook/zstd

Please promote thread pools from experimental to stable

Open
#4,058 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
27.9k
Forks
2.6k
Avg merge
1d 3h
Merged PRs (30d)
8

Description

I'd love to use the thread pool mechanism to have an application-wide thread pool sized based on the the number of CPUs, allowing multiple concurrent zstd compression jobs to share that pool rather than each having their own.

The thread pool API is currently in the experimental section. However, the API itself seems very simple: create a pool with a specified number of threads, free a pool, assign a pool to a compression context.

Would it be possible to promote those three functions, and associated opaque type, from experimental to stable?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.