6e5ee11ca95cd971984038cf65bae00d9c898707 galt Wed Jun 4 15:40:02 2014 -0700 Since we have git, it is easy to rename errabort.c to errAbort.c without losing any history. diff --git src/parasol/paraHub/heartbeat.c src/parasol/paraHub/heartbeat.c index 92adc03..204740d 100644 --- src/parasol/paraHub/heartbeat.c +++ src/parasol/paraHub/heartbeat.c @@ -1,40 +1,40 @@ /* This daemon just sends a heartbeat message to the hub * every now and again. */ #include "paraCommon.h" -#include "errabort.h" +#include "errAbort.h" #include "net.h" #include "paraHub.h" static pthread_t heartbeatThread; static boolean alive = TRUE; static void *heartbeatDeamon(void *vptr) /* Send out a beat every now and again to hub. */ { struct paraMessage *pm; while (alive) { sleep(MINUTE/4); findNow(); pm = pmNew(0,0); pmSet(pm, "heartbeat"); hubMessagePut(pm); } return NULL; } void endHeartbeat() /* Kill heartbeat deamon. This won't take effect right away * though. */ { alive = FALSE; } void startHeartbeat() /* Start heartbeat deamon. */ { int err = pthread_create(&heartbeatThread, NULL, heartbeatDeamon, NULL); if (err < 0) errAbort("Couldn't create heartbeatThread %s", strerror(err)); }