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 <[email protected]> > Cc: John Snow <[email protected]> > Signed-off-by: Stefan Hajnoczi <[email protected]>
Thanks, applied to the block branch. Kevin
