I am not sure how to correctly phrase the question, but can the
wake method cause some task to be polled immediately (in the same stack frame)?
In other words, are executors obliged to clear the stack before starting to poll a future, or are they allowed to do this on some other future's stack?
I am looking at roughly the following code:
let ref_mut = shared_ref_cell.borrow_mut(); some_waker.wake(); drop(ref_mut)
and I am wondering if the call to
wake can re-enter and cause a panic on recursively borrowing a