remove mask/unmask

svn path=/trunk/boinc/; revision=2365
This commit is contained in:
David Anderson 2003-09-26 17:32:49 +00:00
parent 5af855e16b
commit 3050450ff1
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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();