Metered concurrency: Difference between revisions
Content added Content deleted
Line 1,066: | Line 1,066: | ||
If the channel is empty a task will wait until it is no more empty. |
If the channel is empty a task will wait until it is no more empty. |
||
<lang oforth> |
<lang oforth>import: parallel |
||
import: parallel |
|||
Object Class new: Semaphore(ch) |
Object Class new: Semaphore(ch) |