Commit b0edea0b authored by Sebastian Woelke's avatar Sebastian Woelke

plot central enqueue id

parent 63d2496f
...@@ -140,6 +140,7 @@ public: ...@@ -140,6 +140,7 @@ public:
template <class Coordinator> template <class Coordinator>
void central_enqueue(Coordinator* self, resumable* job) { void central_enqueue(Coordinator* self, resumable* job) {
auto w = self->worker_by_idx(d(self).next_worker++ % self->num_workers()); auto w = self->worker_by_idx(d(self).next_worker++ % self->num_workers());
std::cout << "central enqueue: id:" << w->to_string() << std::endl;
w->external_enqueue(job); w->external_enqueue(job);
} }
......
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