mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4390
This commit is contained in:
parent
109d1ffe47
commit
38fc34ec2c
|
@ -603,6 +603,7 @@ bool boinc_receive_trickle_down(char* buf, int len) {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
have_trickle_down = false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -18762,3 +18762,17 @@ David 21 Oct 2004
|
|||
glut_win.c
|
||||
clientgui/
|
||||
Makefile.old
|
||||
|
||||
David 21 Oct 2004
|
||||
- boinc_receive_trickle_down(): reset have_trickle_down
|
||||
if don't find any trickle-down messages.
|
||||
This will make subsequence checks efficient (i.e. no disk check).
|
||||
- boinc_catch_signal(): for SIGHUP and SIGPIPE,
|
||||
return (i.e. ignore the signal) rather than exiting.
|
||||
This affects both the core client and apps that use
|
||||
boinc_init_diagnostics().
|
||||
|
||||
api/
|
||||
boinc_api.C
|
||||
lib/
|
||||
diagnostics.C
|
||||
|
|
|
@ -498,14 +498,16 @@ void boinc_set_signal_handler_force(int sig, void(*handler)(int)) {
|
|||
|
||||
void boinc_catch_signal(int signal) {
|
||||
switch(signal) {
|
||||
case SIGHUP: fprintf(stderr, "SIGHUP: terminal line hangup"); break;
|
||||
case SIGHUP: fprintf(stderr, "SIGHUP: terminal line hangup");
|
||||
return;
|
||||
case SIGINT: fprintf(stderr, "SIGINT: interrupt program"); break;
|
||||
case SIGILL: fprintf(stderr, "SIGILL: illegal instruction"); break;
|
||||
case SIGABRT: fprintf(stderr, "SIGABRT: abort called"); break;
|
||||
case SIGBUS: fprintf(stderr, "SIGBUS: bus error"); break;
|
||||
case SIGSEGV: fprintf(stderr, "SIGSEGV: segmentation violation"); break;
|
||||
case SIGSYS: fprintf(stderr, "SIGSYS: system call given invalid argument"); break;
|
||||
case SIGPIPE: fprintf(stderr, "SIGPIPE: write on a pipe with no reader"); break;
|
||||
case SIGPIPE: fprintf(stderr, "SIGPIPE: write on a pipe with no reader");
|
||||
return;
|
||||
default: fprintf(stderr, "unknown signal %d", signal); break;
|
||||
}
|
||||
fprintf(stderr, "\nExiting...\n");
|
||||
|
|
Loading…
Reference in New Issue