mirror of https://github.com/BOINC/boinc.git
- client simulator: fix build errors
This commit is contained in:
parent
2a104e29e5
commit
3960a9fc83
|
@ -7725,3 +7725,11 @@ Charlie 14 Dec 2012
|
|||
mac_build/
|
||||
boinc.xcodeproj/
|
||||
project.pbxproj
|
||||
|
||||
David 18 Dec 2012
|
||||
- client simulator: fix build errors
|
||||
|
||||
client/
|
||||
app.cpp
|
||||
makefile_sim
|
||||
sim.cpp
|
||||
|
|
|
@ -188,6 +188,8 @@ int ACTIVE_TASK::preempt(int preempt_type) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifndef SIM
|
||||
|
||||
// called when a process has exited
|
||||
//
|
||||
void ACTIVE_TASK::cleanup_task() {
|
||||
|
@ -237,7 +239,6 @@ void ACTIVE_TASK::cleanup_task() {
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef SIM
|
||||
int ACTIVE_TASK::init(RESULT* rp) {
|
||||
result = rp;
|
||||
wup = rp->wup;
|
||||
|
|
|
@ -9,6 +9,7 @@ OBJS = \
|
|||
acct_mgr.o \
|
||||
acct_setup.o \
|
||||
app.o \
|
||||
app_config.o \
|
||||
client_msgs.o \
|
||||
client_state.o \
|
||||
client_types.o \
|
||||
|
@ -28,6 +29,7 @@ OBJS = \
|
|||
file_xfer.o \
|
||||
gpu_amd.o \
|
||||
gpu_detect.o \
|
||||
gpu_intel.o \
|
||||
gpu_nvidia.o \
|
||||
gpu_opencl.o \
|
||||
gui_http.o \
|
||||
|
|
|
@ -502,7 +502,7 @@ bool CLIENT_STATE::scheduler_rpc_poll() {
|
|||
#if 0
|
||||
p = next_project_sched_rpc_pending();
|
||||
if (p) {
|
||||
work_fetch.compute_work_request(p);
|
||||
work_fetch.piggyback_work_request(p);
|
||||
action = simulate_rpc(p);
|
||||
break;
|
||||
}
|
||||
|
@ -511,7 +511,7 @@ bool CLIENT_STATE::scheduler_rpc_poll() {
|
|||
p = find_project_with_overdue_results(false);
|
||||
if (p) {
|
||||
//printf("doing RPC to %s to report results\n", p->project_name);
|
||||
work_fetch.compute_work_request(p);
|
||||
work_fetch.piggyback_work_request(p);
|
||||
action = simulate_rpc(p);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue