mirror of https://github.com/BOINC/boinc.git
parent
5af855e16b
commit
3050450ff1
|
@ -339,6 +339,7 @@ int boinc_checkpoint_completed() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
void boinc_mask() {
|
void boinc_mask() {
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
sighold(SIGALRM);
|
sighold(SIGALRM);
|
||||||
|
@ -350,6 +351,7 @@ void boinc_unmask() {
|
||||||
sigrelse(SIGALRM);
|
sigrelse(SIGALRM);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int boinc_fraction_done(double x) {
|
int boinc_fraction_done(double x) {
|
||||||
fraction_done = x;
|
fraction_done = x;
|
||||||
|
|
|
@ -58,8 +58,8 @@ extern int boinc_resolve_filename(char*, char*, int len);
|
||||||
extern bool boinc_time_to_checkpoint();
|
extern bool boinc_time_to_checkpoint();
|
||||||
extern int boinc_checkpoint_completed();
|
extern int boinc_checkpoint_completed();
|
||||||
extern int boinc_fraction_done(double);
|
extern int boinc_fraction_done(double);
|
||||||
extern void boinc_mask();
|
//extern void boinc_mask();
|
||||||
extern void boinc_unmask();
|
//extern void boinc_unmask();
|
||||||
extern int boinc_child_start();
|
extern int boinc_child_start();
|
||||||
extern int boinc_child_done(double);
|
extern int boinc_child_done(double);
|
||||||
bool boinc_is_standalone();
|
bool boinc_is_standalone();
|
||||||
|
|
Loading…
Reference in New Issue