Results 125 comments of Lewis Baker

A `cancellation_token` can only be used to request cancellation of the computation. It can't be used to synchronise/wait-for that computation to respond to the cancellation request, release its used resources...

There should already be a fallback for pre-Windows 8 versions implemented for the `lightweight_manual_reset_event` class. It uses Win32 manual reset event kernel objects instead. You need to define _WIN32_WINNT=0x0600 (or...

I do eventually want to support detecting Windows 8 at runtime rather than at compile time. eg. using `GetProcAddress("WaitOnAddress")` and using that if available and then falling back to `CreateEvent()`...

I've decided instead to have `when_all_ready` return an aggregate of `when_all_task` objects that encapsulates the coroutine that was used to await each of the input awaitables. See commit c2576ad2980959d938a98924fcd68139dc4bf4af for...

You're right it doesn't have to return a `task`. It could return a `when_all_awaitable` type that holds on to the input operations and the nested coroutines. This would avoid the...

Commit 86a429aead1367550b5fbbf70e5827386e972548 adds a generic implementation for variadic `when_all`. I'm still not sure what should be done about result-type of generic `co_await when_all(someSequenceOfAwaitables)`. Should it yield a `vector`?

This has now largely been implemented as of c2576ad2980959d938a98924fcd68139dc4bf4af. I'm still working on updating the documentation to reflect the changes to `when_all()` as well as to other operations like `fmap()`,...

Yes, the user could do that to get a copy. There are two separate (but related) issues here: * It's not obvious that `generator` allows the consumer to modify the...

I think a fallback for `lightweight_manual_reset_event` that uses `std::mutex` and `std::condition_variable` would be useful to have for those platforms that don't have a futex-equivalent. If you want to take a...

With regards to using the cake build system: The short story: It is the build system I'm most familiar with, having written much of it myself, so it was just...