5c3c3701e278cac3d79ab818baeb952cc5df3d10 galt Fri Jan 10 00:29:14 2025 -0800 fixing minor void * declare from code review feedback. diff --git src/hg/hgBlat/hgBlat.c src/hg/hgBlat/hgBlat.c index cea76dd..6b79bad 100644 --- src/hg/hgBlat/hgBlat.c +++ src/hg/hgBlat/hgBlat.c @@ -166,31 +166,31 @@ { return (b->maxGeneHits - a->maxGeneHits); } } else return result; } // === parallel code ==== void queryServerFinish(struct genomeHits *gH); // Forward declaration static pthread_mutex_t pfdMutex = PTHREAD_MUTEX_INITIALIZER; static struct genomeHits *pfdList = NULL, *pfdRunning = NULL, *pfdDone = NULL, *pfdNeverStarted = NULL; -static void *remoteParallelLoad() +static void *remoteParallelLoad(void *) /* Each thread loads tracks in parallel until all work is done. */ { struct genomeHits *pfd = NULL; boolean allDone = FALSE; while(1) { pthread_mutex_lock( &pfdMutex ); if (!pfdList) { allDone = TRUE; } else { // move it from the waiting queue to the running queue pfd = slPopHead(&pfdList); slAddHead(&pfdRunning, pfd);