Skip to content

Support thread pools - #283

Merged
gyscos merged 1 commit into
gyscos:mainfrom
joshtriplett:thread-pools
Jun 17, 2024
Merged

Support thread pools#283
gyscos merged 1 commit into
gyscos:mainfrom
joshtriplett:thread-pools

Conversation

@joshtriplett

Copy link
Copy Markdown
Contributor

Create a safe ThreadPool type wrapping ZSTD_threadPool. Allow binding a &ThreadPool to a CCtx, which requires that the lifetime of the &ThreadPool outlive the CCtx.

Fixes: #282

Create a safe `ThreadPool` type wrapping `ZSTD_threadPool`. Allow
binding a `&ThreadPool` to a `CCtx`, which requires that the lifetime of
the `&ThreadPool` outlive the `CCtx`.
@gyscos

gyscos commented Jun 17, 2024

Copy link
Copy Markdown
Owner

Hi, and thanks for the work! This looks perfect!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please provide safe bindings to the thread pool mechanism

2 participants