Checkpoint synchronization: Difference between revisions
m
→{{header|Oforth}}
Line 1,405:
Checkpoint is implemented as a task. It :
- Receives n "
- Then sends $
Each task :
Line 1,415:
- Then sends "jobDone" to the checkpoint using "jobs" channel.
- And waits for $allDone checkpoint return on its personal channel.
<lang Oforth>func: task(n, jobs, myChannel)
|