Merge "Use pthread_kill(3) instead of kill(2)."