mirror of https://github.com/BOINC/boinc.git
parent
5fce72eebb
commit
c50a827b0f
|
@ -5,21 +5,26 @@
|
|||
The key data structures in the core client are as follows.
|
||||
<p>
|
||||
Basic types:
|
||||
<pre>
|
||||
PROJECT
|
||||
APP
|
||||
FILE_INFO
|
||||
APP_VERSION
|
||||
IO_FILE_DESC
|
||||
WORKUNIT
|
||||
RESULT
|
||||
</pre>
|
||||
<pre>ACCOUNTS</pre> Contains a vector of PROJECTs, summarizing
|
||||
the accounts file.
|
||||
<p>
|
||||
<pre>PROJECT</pre>
|
||||
<pre>APP</pre>
|
||||
<pre>FILE_INFO</pre>
|
||||
<pre>APP_VERSION</pre>
|
||||
<pre>IO_FILE_DESC</pre>
|
||||
<pre>WORKUNIT</pre>
|
||||
Contains execution information about workunit including
|
||||
command line arguments, environment variables and required
|
||||
input files. Also points to the application, app
|
||||
version and project the workunit is associated with.
|
||||
<pre>RESULT</pre>
|
||||
Contains status information about result including
|
||||
state, total CPU time, deadline, etc. Also points
|
||||
to the workunit, application and project the result is
|
||||
associated with.
|
||||
<pre>PREFS</pre>
|
||||
Contains a vector of PROJECTs, summarizing the prefs.xml
|
||||
file. Also contains user preferences.
|
||||
<pre>CLIENT_STATE</pre>
|
||||
<p>
|
||||
Contains vectors of all the basic types. These are crossed-linked
|
||||
with pointers; for example, APP_VERSION has a pointer to FILE_INFO. Also
|
||||
contains FSM sets for network connections, HTTP operations, file
|
||||
transfers, and active tasks.
|
||||
transfers, persistent file transfers, and active tasks.
|
||||
|
|
|
@ -30,26 +30,22 @@ the application sees the slot directory as the root of its filesystem,
|
|||
and cannot create or access files outside of it.
|
||||
|
||||
<p>
|
||||
A participant's accounts are described in an <b>account file</b>
|
||||
A participant's accounts are described in a <b>preferences file</b>
|
||||
on each of their hosts.
|
||||
This file looks like this:
|
||||
|
||||
<pre>
|
||||
<accounts>
|
||||
<preferences>
|
||||
<prefs_mod_time>1030128387</prefs_mod_time>
|
||||
<from_project>http://www.myproject.com/</from_project>
|
||||
<from_scheduler>http://server3.myproject.com/cgi-bin/scheduler_cgi</from_scheduler>
|
||||
<mod_time>2</mod_time>
|
||||
<high_water_days>2</high_water_days>
|
||||
<low_water_days>1</low_water_days>
|
||||
<resource_share>1</resource_share>
|
||||
<project>
|
||||
<home_project/>
|
||||
<domain>setiathome.berkeley.edu</domain>
|
||||
<scheduler_url>http://setiathome.berkeley.edu/boinc-cgi/cgi</scheduler_url>
|
||||
<master_url>http://www.myproject.com/</master_url>
|
||||
<authenticator>3f7b90793a0175ad0bda68684e8bd136</authenticator>
|
||||
</project>
|
||||
<project>
|
||||
<domain>bio.wwu.edu</domain>
|
||||
<scheduler_url>http://bio.wwu.edu/boinc-cgi/cgi</scheduler_url>
|
||||
<authenticator>3f7b90793a0175ad0bda68684e8bd136</authenticator>
|
||||
</project>
|
||||
</accounts>
|
||||
</preferences>
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
One account can be designated as the <b>home project</b>;
|
||||
this is the project where the user maintains their preferences.
|
||||
|
|
|
@ -32,7 +32,7 @@ It can refer to the user name, CPU time etc. obtained from
|
|||
<p>
|
||||
Applications that don't do graphics must also supply a
|
||||
dummy <tt>app_render</tt> to link with the API.
|
||||
<tt>boinc_draw_gl</tt> is called to draw grpahics
|
||||
<tt>boinc_draw_gl</tt> is called to draw graphics
|
||||
|
||||
<hr>
|
||||
<h3>Implementation</h3>
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<title>Persistent File Transfer</title>
|
||||
<body bgcolor=ffffff>
|
||||
<h2>Persistent File Transfer</h2>
|
||||
<p>
|
||||
Since BOINC may deal with uploading or downloading very large
|
||||
files, or servers which are not always available, the notion
|
||||
of a persistent file transfer is necessary.
|
|
@ -8,8 +8,8 @@ boinc/
|
|||
api/
|
||||
apps/
|
||||
client/
|
||||
win/
|
||||
mac/
|
||||
win/
|
||||
mac/
|
||||
db/
|
||||
doc/
|
||||
html_ops/
|
||||
|
|
Loading…
Reference in New Issue