3 ms·
No, an "owner" in this context is an object/function/closure. Threads come into it but they aren't the central focus.
by brundolf 5y ago
No, an "owner" in this context is an object/function/closure. Threads come into it but they aren't the central focus.
- karmakaze 5y agoThat sounds like the easiest way to implement it. Giving ownership to threads and scheduling coroutines on them is unnecessarily complicated, given that a single coroutine can only be running on one thread at a time.