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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^3: Coroutines in Perl
by mrd (Beadle) on May 11, 2004 at 08:10 UTC | |
by PhilHibbs (Hermit) on May 11, 2004 at 10:48 UTC |