Open TennyZhuang opened 1 year ago
Where do you set it? Found it
static TASK: RefCell<Option<Arc<TaskInfo>>> = RefCell::new(None);
Interesting, I found that if we really want to implement that, we have to store a runtime in the thread_local.
Right. We need to let it be aware that multiple logical runtimes may coexist at the same time.
Right. We need to let it be aware that multiple logical runtimes may coexist at the same time.
Seems a large refactor. Is there any workaround?
Related #175
Reproduce