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

Better handling for (pthread) cancellation. #1043

Open
bakpakin opened this issue Nov 10, 2022 · 1 comment
Open

Better handling for (pthread) cancellation. #1043

bakpakin opened this issue Nov 10, 2022 · 1 comment

Comments

@bakpakin
Copy link
Member

Even if Janet doesn't explicitly allow cancellation of threads, other C functions may call pthread_cancel on threads. We should investigate making sure the interpreter integrates with pthead cancellation points such that there isn't any (or minimal) chance of corruption on thread cancellation.

@pyrmont
Copy link
Contributor

pyrmont commented Nov 19, 2024

I apologise for what is essentially a '+1' post but I'd quite like the ability to cancel Janet threads for a project that I'm working on.

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

2 participants