mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3354
This commit is contained in:
parent
6f581a4ef1
commit
87ad3abc9f
|
@ -12113,3 +12113,11 @@ David May 5 2004
|
||||||
Makefile.am,in
|
Makefile.am,in
|
||||||
sched/
|
sched/
|
||||||
Makefile.am,in
|
Makefile.am,in
|
||||||
|
|
||||||
|
Rom May 5 2004
|
||||||
|
- Our exit stragety should be the same for Windows and Unix. The signal
|
||||||
|
handler should use the same global flags as Windows for suspending
|
||||||
|
and resuming activities.
|
||||||
|
|
||||||
|
client/
|
||||||
|
main.C
|
||||||
|
|
|
@ -198,22 +198,16 @@ static void signal_handler(int signum) {
|
||||||
case SIGINT:
|
case SIGINT:
|
||||||
case SIGQUIT:
|
case SIGQUIT:
|
||||||
case SIGTERM:
|
case SIGTERM:
|
||||||
msg_printf(NULL, MSG_INFO, "Exiting - user request");
|
gstate.requested_exit = true;
|
||||||
gstate.quit_activities();
|
break;
|
||||||
exit(0);
|
|
||||||
case SIGTSTP:
|
case SIGTSTP:
|
||||||
msg_printf(NULL, MSG_INFO, "Suspending activity - user request");
|
gstate.user_run_request = USER_RUN_REQUEST_NEVER;
|
||||||
gstate.active_tasks.suspend_all();
|
|
||||||
signal(SIGTSTP, SIG_DFL);
|
|
||||||
raise(SIGTSTP);
|
|
||||||
break;
|
break;
|
||||||
case SIGCONT:
|
case SIGCONT:
|
||||||
msg_printf(NULL, MSG_INFO, "Resuming activity");
|
gstate.user_run_request = USER_RUN_REQUEST_AUTO;
|
||||||
gstate.active_tasks.unsuspend_all();
|
|
||||||
boinc_set_signal_handler_force(SIGTSTP, signal_handler);
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
msg_printf(NULL, MSG_INFO, "Signal not handled");
|
msg_printf(NULL, MSG_WARNING, "Signal not handled");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -14,8 +14,8 @@ ApplicationName=BOINC
|
||||||
Description=Berkeley Open Infrastructure for Network Computing
|
Description=Berkeley Open Infrastructure for Network Computing
|
||||||
Comments=
|
Comments=
|
||||||
Notice=Copyright 2002-2004 University of California, Berkeley
|
Notice=Copyright 2002-2004 University of California, Berkeley
|
||||||
Version=3.03
|
Version=3.04
|
||||||
OutputSpec=boinc_3.03_windows_intelx86.exe
|
OutputSpec=boinc_3.04_windows_intelx86.exe
|
||||||
GUIDs=0
|
GUIDs=0
|
||||||
Type=2
|
Type=2
|
||||||
Compress=1
|
Compress=1
|
||||||
|
|
|
@ -34,8 +34,8 @@ WIN32SENABLE=No
|
||||||
Language Files\English=No
|
Language Files\English=No
|
||||||
Help Files=No
|
Help Files=No
|
||||||
Language Files\Italiano=No
|
Language Files\Italiano=No
|
||||||
Language Files\Deutsch=No
|
|
||||||
Language Files=No
|
Language Files=No
|
||||||
|
Language Files\Deutsch=No
|
||||||
Program Files=No
|
Program Files=No
|
||||||
Screensaver Files=No
|
Screensaver Files=No
|
||||||
Language Files\Espanol=No
|
Language Files\Espanol=No
|
||||||
|
|
Loading…
Reference in New Issue