RECURSIVE PROC sieve (VAL INT count, CHAN INT in?, out!)
INT n:
SEQ
in ? n
IF
count = 1
end.sieve (n, in?, out!)
TRUE
SEQ
out ! n
PAR
filter (n, in?, c!)
sieve (count - 1, c?, out!)
c-pgms.blogspot.com Moved
15 years ago
seminar reports in computer science and it
Seminar Reports - Copyright © 2008 - c-pgms.blogspot.com Powered by Blogger
No comments:
Post a Comment