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

Provide a way to iterate over all the pools #46

Open
kayceesrk opened this issue Sep 30, 2021 · 0 comments
Open

Provide a way to iterate over all the pools #46

kayceesrk opened this issue Sep 30, 2021 · 0 comments

Comments

@kayceesrk
Copy link
Contributor

It will be useful to have a way to iterate over all the pools that are created in domainslib. One use case is to teardown all the pools. But there may be others (stats?). See relevant discussion at #45 (comment).

The data structure to use for this would be the Weak hash set https://ocaml.org/api/Weak.html#1_Weakhashsets, which will hold a weak pointer to the pools.

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

No branches or pull requests

1 participant