Am 13.12.2018 um 12:24 hat Stefan Hajnoczi geschrieben: > Marking a function coroutine_fn currently has no effect on the compiler, > but it documents that this function must be called from coroutine > context and it may yield. This is important information for the > programmer. > > Also, if we ever transition to a stackless coroutine implementation, > then it's likely that the annotation will become mandatory so the > compiler can use the correct calling convention for coroutine functions. > > Cc: Max Reitz <mre...@redhat.com> > Cc: John Snow <js...@redhat.com> > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com>
Thanks, applied to the block branch. Kevin