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

Case Study: FFI Thread Safety #6

Open
kassane opened this issue Jun 9, 2023 · 2 comments
Open

Case Study: FFI Thread Safety #6

kassane opened this issue Jun 9, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed

Comments

@kassane kassane added help wanted Extra attention is needed good first issue Good for newcomers labels Jun 10, 2023
@kassane
Copy link
Owner Author

kassane commented Jun 12, 2023

There are some threadpool solutions written in Zig, one of which is officially supported in the standard library, but requires memory allocation and another heapless proposal.

Allocator - std

Note: When Observing the std version git history, it can be seen that it is based on the refactored heapless version.

Heapless

@kassane kassane added the documentation Improvements or additions to documentation label Jun 13, 2023
@kassane
Copy link
Owner Author

kassane commented Jun 13, 2023

Based on the reference below.

Something similar occurs in the current CI test. The zig test prints Hello task using posted strand however it is not displayed along with threadpool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant