Closed cppden closed 4 weeks ago
Why is it lost?
Task is passed between shards via one _qs queue and then finally executed in target shard in default scheduling group. But maybe I just could not follow the code properly. I am sorry if so. Can you please give me a hint where the scheduling group is restored?
smp_message_queue::work_item, see task's initializer
❤️ Thanks a lot!
From the code it's clear how current scheduling group is inherited for new tasks spawned by a task on current shard. But it seems the current scheduling group is lost when coroutine is invoked on another shard. Is it so or am I missing something? Thank you very much in advance!