mirror of https://github.com/BOINC/boinc.git
- API: don't start timer thread (or install signal handler on Unix)
if running standalone svn path=/trunk/boinc/; revision=13577
This commit is contained in:
parent
8dfcc20101
commit
34a31a2827
|
@ -283,7 +283,10 @@ int boinc_init_options(BOINC_OPTIONS* opt) {
|
|||
}
|
||||
retval = boinc_init_options_general(*opt);
|
||||
if (retval) return retval;
|
||||
return set_worker_timer();
|
||||
if (!standalone) {
|
||||
retval = set_worker_timer();
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
||||
// the following can be called by either graphics or worker thread
|
||||
|
@ -873,7 +876,7 @@ int set_worker_timer() {
|
|||
return retval;
|
||||
}
|
||||
|
||||
// set up a periodic SIGALRM, to be hanled by the worker thread
|
||||
// set up a periodic SIGALRM, to be handled by the worker thread
|
||||
//
|
||||
struct sigaction sa;
|
||||
itimerval value;
|
||||
|
|
|
@ -8432,3 +8432,10 @@ David 12 Sept 2007
|
|||
|
||||
client/
|
||||
cpu_sched.C
|
||||
|
||||
David 12 Sept 2007
|
||||
- API: don't start timer thread (or install signal handler on Unix)
|
||||
if running standalone
|
||||
|
||||
api/
|
||||
boinc_api.C
|
||||
|
|
Loading…
Reference in New Issue