mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5130
This commit is contained in:
parent
4746ea019f
commit
6bdc90bb4f
|
@ -22802,4 +22802,9 @@ Bruce 17 Jan 2005
|
|||
sched_locality.C
|
||||
|
||||
|
||||
David 17 Jan 2005
|
||||
- don't start apps until after benchmark
|
||||
(may work around CPDN bug)
|
||||
|
||||
client/
|
||||
client_state.C
|
||||
|
|
|
@ -301,10 +301,6 @@ int CLIENT_STATE::init() {
|
|||
retval = make_project_dirs();
|
||||
if (retval) return retval;
|
||||
|
||||
// Restart any tasks that were running when we last quit the client
|
||||
//
|
||||
restart_tasks();
|
||||
|
||||
// Just to be on the safe side; something may have been modified
|
||||
//
|
||||
set_client_state_dirty("init");
|
||||
|
@ -349,6 +345,7 @@ int CLIENT_STATE::net_sleep(double x) {
|
|||
bool CLIENT_STATE::do_something(double now) {
|
||||
int actions = 0, reason, retval;
|
||||
SCOPE_MSG_LOG scope_messages(log_messages, CLIENT_MSG_LOG::DEBUG_POLL);
|
||||
static bool tasks_restarted = false;
|
||||
|
||||
if (should_run_cpu_benchmarks() && !are_cpu_benchmarks_running()) {
|
||||
run_cpu_benchmarks = false;
|
||||
|
@ -407,6 +404,14 @@ bool CLIENT_STATE::do_something(double now) {
|
|||
// in that order (active_tasks_poll() sets must_schedule_cpus,
|
||||
// and handle_finished_apps() must be done before schedule_cpus()
|
||||
|
||||
// restart tasks here so that if we do benchmark on startup,
|
||||
// we don't immediately suspend apps
|
||||
//
|
||||
if (!activities_suspended && !tasks_restarted) {
|
||||
restart_tasks();
|
||||
tasks_restarted = true;
|
||||
}
|
||||
|
||||
ss_logic.poll();
|
||||
if (activities_suspended) {
|
||||
scope_messages.printf("CLIENT_STATE::do_something(): activities suspended\n");
|
||||
|
|
|
@ -413,3 +413,10 @@ create table forum_logging (
|
|||
timestamp integer not null default 0,
|
||||
primary key (userid,threadid)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
create table tentative_user (
|
||||
nonce varchar(254) not null,
|
||||
email_addr varchar(254) not null,
|
||||
confirmed integer not null,
|
||||
primary key(nonce)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue