*** empty log message ***

svn path=/trunk/boinc/; revision=3354
This commit is contained in:
Rom Walton 2004-05-06 00:24:47 +00:00
parent 6f581a4ef1
commit 87ad3abc9f
4 changed files with 16 additions and 14 deletions

View File

@ -12113,3 +12113,11 @@ David May 5 2004
Makefile.am,in
sched/
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

View File

@ -198,22 +198,16 @@ static void signal_handler(int signum) {
case SIGINT:
case SIGQUIT:
case SIGTERM:
msg_printf(NULL, MSG_INFO, "Exiting - user request");
gstate.quit_activities();
exit(0);
gstate.requested_exit = true;
break;
case SIGTSTP:
msg_printf(NULL, MSG_INFO, "Suspending activity - user request");
gstate.active_tasks.suspend_all();
signal(SIGTSTP, SIG_DFL);
raise(SIGTSTP);
gstate.user_run_request = USER_RUN_REQUEST_NEVER;
break;
case SIGCONT:
msg_printf(NULL, MSG_INFO, "Resuming activity");
gstate.active_tasks.unsuspend_all();
boinc_set_signal_handler_force(SIGTSTP, signal_handler);
gstate.user_run_request = USER_RUN_REQUEST_AUTO;
break;
default:
msg_printf(NULL, MSG_INFO, "Signal not handled");
msg_printf(NULL, MSG_WARNING, "Signal not handled");
}
}
#endif

View File

@ -14,8 +14,8 @@ ApplicationName=BOINC
Description=Berkeley Open Infrastructure for Network Computing
Comments=
Notice=Copyright 2002-2004 University of California, Berkeley
Version=3.03
OutputSpec=boinc_3.03_windows_intelx86.exe
Version=3.04
OutputSpec=boinc_3.04_windows_intelx86.exe
GUIDs=0
Type=2
Compress=1

View File

@ -34,8 +34,8 @@ WIN32SENABLE=No
Language Files\English=No
Help Files=No
Language Files\Italiano=No
Language Files\Deutsch=No
Language Files=No
Language Files\Deutsch=No
Program Files=No
Screensaver Files=No
Language Files\Espanol=No