On Fri, Jul 08, 2011 at 05:49:32PM +0200, Serge Hulne wrote: > It‘s a generator using a coroutine (at least using “yield“).
The yield keyword itself doesn't mean coroutine. It's just a generator not a coroutine because you don't cooperate with any other routine. "The yield statement is only used when defining a generator function, and is only used in the body of the generator function. Using a yield statement in a function definition is sufficient to cause that definition to create a generator function instead of a normal function." That is, not a coroutine. -- http://www.debian.org - The Universal Operating System _______________________________________________ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list