X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Gibbs.cpp;fp=Gibbs.cpp;h=6bbfeb198c1cd72e81b0da02327dcefd6158c545;hb=7f503f1b9e22d7e1b44472add2263f263675b7c7;hp=63d35a829c059e12ae79bd8f3246fcec5b50438b;hpb=683863b75f8d8bef2461039a6911b0e9619cc113;p=rsem.git diff --git a/Gibbs.cpp b/Gibbs.cpp index 63d35a8..6bbfeb1 100644 --- a/Gibbs.cpp +++ b/Gibbs.cpp @@ -70,7 +70,6 @@ bool quiet; Params *paramsArray; pthread_t *threads; pthread_attr_t attr; -void *status; int rc; void load_data(char* reference_name, char* statName, char* imdName) { @@ -443,7 +442,7 @@ int main(int argc, char* argv[]) { pthread_assert(rc, "pthread_create", "Cannot create thread " + itos(i) + " (numbered from 0)!"); } for (int i = 0; i < nThreads; i++) { - rc = pthread_join(threads[i], &status); + rc = pthread_join(threads[i], NULL); pthread_assert(rc, "pthread_join", "Cannot join thread " + itos(i) + " (numbered from 0)!"); } release();