plasmodic / ecto

ecto is a dynamically configurable Directed Acyclic processing Graph (DAG) framework.
http://ecto.willowgarage.com/
BSD 3-Clause "New" or "Revised" License
97 stars 37 forks source link

Threadpool is very busy if the inputs aren't ready for a cell #192

Open ethanrublee opened 13 years ago

ethanrublee commented 13 years ago

void async_wait_for_input() should most likely use a condition variable to wait for the inputs to be ready. If my graph is blocked, i see an entire cpu taken up by the scheduler.

straszheim commented 12 years ago

this is fixed in the new multithreaded scheduler. Of course the quest for the ultimate scheduler is by no means over...