計算途中でのアップロード |
|
長時間の計算をするアプリケーションは、リザルトの計算全部が終わる前に、 特定の出力ファイルをアップロードすることができます。 出力ファイルのアップロードを始めるには、以下を呼出します。
extern int boinc_upload_file(std::string& name);ここで、'name' はファイルの論理名です。 この呼出しをしたらその後は、 アプリケーションはそのファイルを変更できません。
ファイルのアップロード処理状態を調べるには、以下を呼出します。
extern int boinc_upload_status(std::string& name);アップロードがうまく終わると、この関数は復帰値 0 を返します。
最終更新時刻 00:52:57, 2006年08月12日(JST)
Copyright © 2008 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.
Copyright © 2008 Komori Hitoshi(je2bwm at jarl.com).
Japanese translation from English web pages on BOINC.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.