You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am confused on how I can schedule coro on another scheduler. For example if I want to schedule coro on unit_pool from coro on lazy_pool. Also, would coro on lazy_pool wait for coro on unit_pool? An example usage is to schedule slow disk IO reads/writes to unit_pool and not wait for them. However, I am not sure how to implement such case. Any help is appreciated.
The text was updated successfully, but these errors were encountered:
Another example usage: SDL library requires all communications to created window to be done from the same thread which creates window and unit_pool fits perfectly. When all calculations and game main loop can use lazy_pool. However, I would need to schedule coros from unit_pool in lazy_pool and vise versa.
I am confused on how I can schedule coro on another scheduler. For example if I want to schedule coro on
unit_pool
from coro onlazy_pool
. Also, would coro onlazy_pool
wait for coro onunit_pool
? An example usage is to schedule slow disk IO reads/writes to unit_pool and not wait for them. However, I am not sure how to implement such case. Any help is appreciated.The text was updated successfully, but these errors were encountered: