-
Notifications
You must be signed in to change notification settings - Fork 7.4k
posix: implement pthread_kill()
#59943
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
Comments
I'm thinking of doing this in a generic POSIX way, lmk if this sounds right: pthread_t can be converted into an index, with which we find the corresponding k_thread in the posix_thread_pool, and then send a signal to that thread. I'm just wondering how can I "send" a signal to the thread. |
@AbhinavMir - I have a draft Pr for this already. It might make sense to attempt a different enhancement issue. |
Makes sense, thank you |
There are currently 20 missing POSIX function implementations,
pthread_kill()
is one of them.See https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_kill.html
See RFC #51211 for more info.
The text was updated successfully, but these errors were encountered: