Update threadsalive.c