Multithreaded Programming Guide

Return Values

pthread_kill() returns zero after completing successfully. Any other return value indicates that an error occurred. When either of the following conditions occurs, pthread_kill() fails and returns the corresponding value.


sig is not a valid signal number.


tid cannot be found in the current process.