diff --git a/.project b/.project new file mode 100644 index 0000000..55e5b3f --- /dev/null +++ b/.project @@ -0,0 +1,11 @@ + + + i3login_allscale_runtime + + + + + + + + diff --git a/src/components/scheduler_component.cpp b/src/components/scheduler_component.cpp index 88ae7d9..1cd4f36 100644 --- a/src/components/scheduler_component.cpp +++ b/src/components/scheduler_component.cpp @@ -185,14 +185,14 @@ namespace allscale { namespace components { //having some slight error in total_length or num_threads, because of //outdated data (in case more threads got assigned after the counters //where read) this wont do too much harm i guess ??? - std::unique_lock l(counters_mtx_); + //std::unique_lock l(counters_mtx_); // Do we have enough tasks in the system? if (total_length_ < num_threads_ * 10) { - hpx::util::unlock_guard > ul(l); + //hpx::util::unlock_guard > ul(l); return total_idle_rate_ >= 10.0; } - hpx::util::unlock_guard > ul(l); + //hpx::util::unlock_guard > ul(l); return total_idle_rate_ < 10.0; }