Synchronous concurrency: Difference between revisions
m
→{{header|Oforth}}
Line 1,358:
Oforth implements concurrency with tasks and communication between tasks using channels. Here, we create 2 channels (one for print, one to retrieve the number of lines).
When the file has been read and
<lang Oforth>func: printing(chPrint, chCount)
|