Open NathanRoyer opened 1 month ago
When we call try_send on a sender, here's what I think is happening:
try_send
ConcurrentQueue::push
Unbounded::push
busy_wait
I find it weird that we end up yielding the thread in async code. If this is expected, I think it should be documented.
When we call
try_send
on a sender, here's what I think is happening:ConcurrentQueue::push
is called hereUnbounded::push
is called herebusy_wait
is called hereI find it weird that we end up yielding the thread in async code. If this is expected, I think it should be documented.