Is there a Windows native API analogous to pthread_cancel, pthread_testcancel etc?
If not, how can we simulate cancelling of one thread from another using the pthread_cancel mechanism in Windows?
I'm just starting to learn how network programming in C works, and I've written a small program that sends messages to and from a UNIX terminal. I'm using pthreads in my ...
There are multiple threads working on a task. Once a thread succeeds all of the thread should be canceled, as the work is accomplished. How can i cancel the other threads ...
I'm wondering if it is safe to call pthread_cancel() on a terminated thread. I couldn't find any hints in the manual page. Thanks in advance for any hints.
Edit: Maybe I wasn't ...