Fixed stupid bux in the pthreads() thread creation check that always caused

it to report success.

svn path=/trunk/boinc/; revision=10132
This commit is contained in:
Eric J. Korpela 2006-05-15 17:25:59 +00:00
parent 6338fcccaa
commit 23b4af5507
1 changed files with 2 additions and 1 deletions

View File

@ -859,8 +859,9 @@ int set_worker_timer() {
if (retval) { if (retval) {
fprintf(stderr, "set_worker_timer(): pthread_create(): %d", retval); fprintf(stderr, "set_worker_timer(): pthread_create(): %d", retval);
timer_thread_created=0; timer_thread_created=0;
} } else {
timer_thread_created=1; timer_thread_created=1;
}
struct sigaction sa; struct sigaction sa;
itimerval value; itimerval value;