- API: set fraction_done to 1 in boinc_finish()

api/
    boinc_api.C

svn path=/trunk/boinc/; revision=13050
This commit is contained in:
David Anderson 2007-06-28 22:51:51 +00:00
parent b1d0451241
commit 9f6fe805ad
4 changed files with 26 additions and 9 deletions

View File

@ -384,6 +384,7 @@ int boinc_finish(int status) {
double total_cpu;
total_cpu = boinc_worker_thread_cpu_time();
total_cpu += initial_wu_cpu_time;
fraction_done = 1;
// NOTE: the app_status slot may already contain a message.
// So retry a couple of times.
@ -407,7 +408,7 @@ int boinc_finish(int status) {
boinc_exit(status);
return(0); // doh... we never get here
return 0; // never reached
}

View File

@ -6849,3 +6849,9 @@ Charlie 28 June 2007
file_names.C
lib/
shmem.C
David 28 June 2007
- API: set fraction_done to 1 in boinc_finish()
api/
boinc_api.C

View File

@ -1,6 +1,16 @@
<?
$project_news = array(
array("June 28, 2007",
"Linux users: if you use bash,
check out a cool <a href=http://boinc.berkeley.edu/trac/wiki/BashCommandCompletion>script</a>
that provides command completion in both boinc_cmd and boinc_client
(thanks to Frank S. Thomas)."
),
array("June 27, 2007",
"Help increase volunteer computing power -
<a href=http://boinc.berkeley.edu/trac/wiki/BoincPr>publicize BOINC</a> by writing to computer magazines."
),
array("June 26, 2007",
"There's a great new statistics site,
<a href=http://www.allprojectstats.com/>BOINC All Project Stats</a>.

View File

@ -3,14 +3,14 @@
$biomed = array(
"Biology and Medicine",
array(
array(
"Proteins@Home",
"http://biology.polytechnique.fr/proteinsathome",
"Ecole Polytechnique, Paris",
"Protein structure prediction",
"By joining Proteins@Home, you will be part of a large-scale protein structure prediction project and help to advance an important area of science. By increasing our knowledge of proteins, you will contribute to a better understanding of many diseases and pathologies, and to progress in both medicine and technology. Proteins@Home is not for profit.",
"proteinsathome.gif"
),
// array(
// "Proteins@Home",
// "http://biology.polytechnique.fr/proteinsathome",
// "Ecole Polytechnique, Paris",
// "Protein structure prediction",
// "By joining Proteins@Home, you will be part of a large-scale protein structure prediction project and help to advance an important area of science. By increasing our knowledge of proteins, you will contribute to a better understanding of many diseases and pathologies, and to progress in both medicine and technology. Proteins@Home is not for profit.",
// "proteinsathome.gif"
// ),
array(
"Malariacontrol.net",
"http://www.malariacontrol.net",