mirror of https://github.com/BOINC/boinc.git
Mac client: fix parent died test in benchmark_time_to_stop()
svn path=/trunk/boinc/; revision=18054
This commit is contained in:
parent
aab93f8477
commit
d823142bf5
|
@ -4399,7 +4399,10 @@ Rytis 7 May 2009
|
|||
Charlie 7 May 2009
|
||||
- Mac: Remove -lresolv from XCode linker flags for client, manager, boinccmd
|
||||
and screensaver which linked with libresolv.dylib for res_init() call.
|
||||
- Mac client: fix parent died test in benchmark_time_to_stop().
|
||||
|
||||
client/
|
||||
cs_benchmark.cpp
|
||||
mac_build/
|
||||
boinc.xcodeproj/
|
||||
project.pbxproj
|
||||
|
|
|
@ -148,14 +148,14 @@ void benchmark_wait_to_start(int which) {
|
|||
}
|
||||
|
||||
bool benchmark_time_to_stop(int which) {
|
||||
if (boinc_file_exists(file_names[which])) {
|
||||
return false;
|
||||
}
|
||||
#ifndef _WIN32
|
||||
if (getppid() == 1) {
|
||||
exit(0);
|
||||
}
|
||||
#endif
|
||||
if (boinc_file_exists(file_names[which])) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue