In some sense, any abstraction over a queue of items is a “kind” of executor. e.g. An async_mutex holds a queue of continuations waiting to acquire the lock. Its “schedule” operation happens to be named m.lock_async() and the next item is dequeued when someone calls m.unlock().
-
-
Prikaži ovu nit
-
Treating an executor transition as just another async operation allows us to compose executor transitions with other async operations in a generic way. We can use the same tools available for working with any async operations. We don’t need to treat executors differently.
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
It’s all queues, all the way down
-
You mean it's all queues all the way down the stack?
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.