pthread_kill(thrd) sends a signal to thread with id thrd.
pthread_cancel(thrd) terminates the thread with id thrd, but ...
- Cancel state: disabled or enabled
- Cancel type: asynchronous or deferred
- Cancel cleanup
Default: enabled and deferred
pthread_kill(thrd) sends a signal to thread with id thrd.
pthread_cancel(thrd) terminates the thread with id thrd, but ...
Default: enabled and deferred