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 have a pool of worker threads and I want to schedule fibers onto this pool from the main thread, without running any of these worker fibers on the main thread itself. I'm doing this using the shared_work (or work_stealing) algorithm.
If I set the suspend option to true to prevent the worker threads busy-waiting when they have no work the worker fibers never run because the algorithms on the worker threads aren't notified when work is pushed onto the queue from the main thread.
The text was updated successfully, but these errors were encountered:
I have a pool of worker threads and I want to schedule fibers onto this pool from the main thread, without running any of these worker fibers on the main thread itself. I'm doing this using the
shared_work
(orwork_stealing
) algorithm.If I set the
suspend
option totrue
to prevent the worker threads busy-waiting when they have no work the worker fibers never run because the algorithms on the worker threads aren't notified when work is pushed onto the queue from the main thread.The text was updated successfully, but these errors were encountered: