mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9643
This commit is contained in:
parent
a180483343
commit
f9d03a24ac
|
@ -394,12 +394,15 @@ void boinc_exit(int status) {
|
||||||
//
|
//
|
||||||
file_lock.unlock(LOCKFILE);
|
file_lock.unlock(LOCKFILE);
|
||||||
|
|
||||||
|
// flush all the output buffers
|
||||||
|
//
|
||||||
|
fflush(NULL);
|
||||||
|
|
||||||
// on Mac, calling exit() can lead to infinite exit-atexit loops,
|
// on Mac, calling exit() can lead to infinite exit-atexit loops,
|
||||||
// while _exit() seems to behave nicely.
|
// while _exit() seems to behave nicely.
|
||||||
// This is not pretty but unless someone finds a cleaner solution,
|
// This is not pretty but unless someone finds a cleaner solution,
|
||||||
// we handle the Mac-case separately .
|
// we handle the Mac-case separately .
|
||||||
#ifdef __APPLE_CC__
|
#ifdef __APPLE_CC__
|
||||||
fflush(NULL);
|
|
||||||
_exit(status);
|
_exit(status);
|
||||||
#else
|
#else
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
|
@ -2821,3 +2821,15 @@ David 13 Mar 2006
|
||||||
api/
|
api/
|
||||||
boinc_api.C,h
|
boinc_api.C,h
|
||||||
graphics_lib.C
|
graphics_lib.C
|
||||||
|
|
||||||
|
Walt 13 Mar 2006
|
||||||
|
- Bug Fix: in boinc-exit, all platforms, call fflush(NULL) so
|
||||||
|
output buffers get flushed. Moves the call outside the #ifdef.
|
||||||
|
- Bug Fix: Account manager shouldn't be contacted if the network
|
||||||
|
is suspended. This affects the automatic (every hour)
|
||||||
|
connections only.
|
||||||
|
|
||||||
|
api/
|
||||||
|
boinc_api.C
|
||||||
|
client/
|
||||||
|
client_state.C
|
||||||
|
|
|
@ -497,9 +497,9 @@ bool CLIENT_STATE::poll_slow_events() {
|
||||||
POLL_ACTION(garbage_collect , garbage_collect );
|
POLL_ACTION(garbage_collect , garbage_collect );
|
||||||
POLL_ACTION(update_results , update_results );
|
POLL_ACTION(update_results , update_results );
|
||||||
POLL_ACTION(gui_http , gui_http.poll );
|
POLL_ACTION(gui_http , gui_http.poll );
|
||||||
POLL_ACTION(acct_mgr , acct_mgr_info.poll );
|
|
||||||
if (!network_suspended) {
|
if (!network_suspended) {
|
||||||
net_stats.poll(*file_xfers, *net_xfers);
|
net_stats.poll(*file_xfers, *net_xfers);
|
||||||
|
POLL_ACTION(acct_mgr , acct_mgr_info.poll );
|
||||||
POLL_ACTION(file_xfers , file_xfers->poll );
|
POLL_ACTION(file_xfers , file_xfers->poll );
|
||||||
POLL_ACTION(pers_file_xfers , pers_file_xfers->poll );
|
POLL_ACTION(pers_file_xfers , pers_file_xfers->poll );
|
||||||
POLL_ACTION(handle_pers_file_xfers , handle_pers_file_xfers );
|
POLL_ACTION(handle_pers_file_xfers , handle_pers_file_xfers );
|
||||||
|
|
Loading…
Reference in New Issue