From aab9bb42224fbb92c11eabb477282a8f0efe1c17 Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Sat, 28 Feb 2015 11:59:45 -0500 Subject: Remove clean and smudge filters from the git repo that are used to stamp sysconftool-processed configuration file. Rename all sysconftool-processed configuration files to *.git, and use a build rule to create a stamped sysconftool file. Fix a couple of compilation warnings. --- threadlib/pthread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'threadlib') diff --git a/threadlib/pthread.c b/threadlib/pthread.c index c0d414c..598d03b 100644 --- a/threadlib/pthread.c +++ b/threadlib/pthread.c @@ -118,6 +118,7 @@ cthreadinfo_t *i= c->myinfo; if (PTHREAD_CHK(pthread_cond_signal( &i->newtask_cond ))) perror("pthread_cond_signal"); } + return 0; } static int initcondmutex(pthread_cond_t *c, pthread_mutex_t *m) @@ -258,7 +259,7 @@ cthreadinfo_t *cit; --i; if (PTHREAD_CHK(pthread_cancel(cit->threads[i].pt))) perror("pthread_cancel"); - + if (PTHREAD_CHK(pthread_join(cit->threads[i].pt, NULL))) perror("pthread_join"); -- cgit v1.2.3