http://qs1969.pair.com?node_id=352116


in reply to Re: Re: Coroutines in Perl
in thread Coroutines in Perl

threads are meant to run in "paralel"..., while coroutines are not. Therefore, when using coroutines, there is no need to worry about synchronisation, race conditions, starvation, you know ...
They do effectively run in parallel, and you can get synchronisation problems. These are a symptom of any non-linear algorithm, whether it uses threading or not.