[erlang-questions] first erlang program

Steve Davis steven.charles.davis@REDACTED
Sat Jan 5 15:10:58 CET 2013

On Friday, January 4, 2013 9:15:20 PM UTC-6, rusi wrote:

> My attempts at 'finitizing' the erlang are evidently not so successful :D 
Any tips?
Although your code includes a 'stop' signal to break out of the loop, once 
a sieve enters its filtloop, when does it ever receive a signal to stop? 
What happens to the sieve that never receives a prime? 

The result is that any prime sieve (and the very last) will still be 
waiting in a receive state after all the required processing is complete.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130105/9277a698/attachment.htm>

More information about the erlang-questions mailing list