Commit 5ec54456 authored by Dominik Charousset's avatar Dominik Charousset

Remove dead code + coding style nitpicks

parent d2ba1d41
......@@ -43,10 +43,11 @@ class worker : public execution_unit {
using coordinator_ptr = coordinator<Policy>*;
using policy_data = typename Policy::worker_data;
worker(size_t id, coordinator_ptr parent, size_t max_throughput) {
m_max_throughput = max_throughput;
m_id = id;
m_parent = parent;
worker(size_t id, coordinator_ptr parent, size_t max_throughput)
: m_max_throughput(max_throughput),
m_id(id),
m_parent(parent) {
// nop
}
void start() {
......@@ -83,13 +84,6 @@ class worker : public execution_unit {
m_policy.internal_enqueue(this, job);
}
// go on a raid in quest for a shiny new job
job_ptr raid() {
auto result = m_policy.raid(this);
CAF_LOG_DEBUG_IF(result, "got actor with id " << id_of(result));
return result;
}
coordinator_ptr parent() {
return m_parent;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment