Results 125 comments of Lewis Baker

I'm open to suggestions if there are things I can do for the build system to aid the ability to use cppcoro in other projects.

> As an afterthought, this case is a good candidate for a reader/writer lock. There is a single writer invoking set flag and multiple readers checking and waiting for the...

@yfinkelstein I've added some comments to your fork. I've added a `.editorconfig` and `.clang-format` config file to the upstream `master` branch in bdd7ccc88d8fce7c4543d3c153df430b6dc789a9. Do you mind if I just manually...

> I have hacked the config.cake to all me to build on the Mac by adding a elif isDarwin() block. @tlanc007 Do you mind sharing your changes to the `config.cake`?...

I've pushed the changes to `lightweight_manual_reset_event` in 396d0271d1a335546b3dd68b036a66b5576c8165

Probably also want to run `clang-format` over the code to get a consistent baseline style once these have been added.

Commit bdd7ccc88d8fce7c4543d3c153df430b6dc789a9 adds initial versions of .editorconfig and .clang-format These should most-closely mirror current style. I'll apply clang-format to existing files after resolution for #45 has been merged to avoid...

The idea behind `produce()` is that it returns a task that represents the execution of the generator coroutine body. ie. the producer task. The coroutine body will not start until...

Bike-shedding: Should the name of this method be similar to the `sync_wait()` function from #27? eg. `io_service::sync_wait(task)` Should it also return/unpack the result of the task (returning the value and/or...

Technically, if you only wanted to have a single thread servicing the `io_service` events you could potentially use `sync_wait()` and `when_all()` to implement this. eg. ```c++ lazy_task run(io_service& io); int...