which thread is responsible in running the graph. Asio and Immediate works differently right now.
Immediate does not have a thread to run on.
This means, it users should not call core.run() in on_commit since it will block the thread.
Asio owns a thread where it should run on. This means calling core.run() is somewhat non-blocking.
This means that users can simply call core.run() in on_commmit.
TODO: what is the right behavior? blocking? non-blocking?
which thread is responsible in running the graph. Asio and Immediate works differently right now.
Immediate does not have a thread to run on. This means, it users should not call
core.run()
in on_commit since it will block the thread.Asio owns a thread where it should run on. This means calling
core.run()
is somewhat non-blocking. This means that users can simply callcore.run()
in on_commmit.TODO: what is the right behavior? blocking? non-blocking?