* Sebastian Huber: > Hello, > > On 06/06/2018 08:33, Florian Weimer wrote: >> On 06/04/2018 07:36 PM, Jonathan Wakely wrote: >>> On 4 June 2018 at 18:32, Marco Ippolito wrote: >>>> Hi all, >>>> >>>> clang and VS2017 already support the Coroutines TS extensions. >>>> For which gcc release is going to be foreseen the support for the >>>> Coroutines TS extension? >>> >>> This has been discussed recently, search the mailing list. >>> >>> It will be supported after somebody implements it. >> >> If it is in fact implementable on top of the GNU ABI. Some variants >> of coroutines are not. > > it seems C++20 will contain coroutines. Are there already some plans > to support them in GCC?
There is <http://gcc.gnu.org/wiki/cxx-coroutines>. Iain Sandoe is working on it. > I ask this so that I can plan my work to > support it for RTEMS. For example, are there plans to build them on > top of ucontext? C++ coroutines are stackless. I don't think any new low-level run-time support will be needed. Thanks, Florian