Merge pull request #39 from figurantpp/master

A fix to issue #38
This commit is contained in:
Carl Fredrik Samson
2021-05-06 22:30:50 +02:00
committed by GitHub

View File

@@ -205,4 +205,13 @@ impl Drop for Reactor {
self.handle.take().map(|h| h.join().unwrap()).unwrap(); self.handle.take().map(|h| h.join().unwrap()).unwrap();
} }
} }
``` ```
## A little side note
The comments delimiting the Executor, `Future` implementation and Reactor,
emphasize on what is part of the langauge (Future and Waker) and what is not (runtime specifics).
Therefore, the comments associate the `Waker` with the `Future` implementation,
despite its strong relation with the Executor.