mirror of https://github.com/BOINC/boinc.git
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:
parent
6338fcccaa
commit
23b4af5507
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue