Synchronous concurrency: Difference between revisions

Content added Content deleted
(Added PicoLisp)
m (Added comment for two synchronous tasks)
Line 814: Line 814:
(println X) # Else print line to stdout
(println X) # Else print line to stdout
(inc 'Cnt) ) ) ) ) # and increment count</lang>
(inc 'Cnt) ) ) ) ) # and increment count</lang>
If the two cases of 'sigio' in the printing task are replaced with 'task',
that task would also be synchronous. The resulting behavior is the same.


=={{header|Python}}==
=={{header|Python}}==