Mutex: Difference between revisions

332 bytes added ,  5 years ago
m
Line 575:
 
=={{header|M2000 Interpreter}}==
We can simulate mutex. Try with Thread.Plan Sequential
Using concurrent (in interpreter level), after the execution of one statement, thread change. Using Sequential each thread block run all statements, until end, or leave some if a continue take place. In concurrent also a call to a module, or executing a block of code happen without in one thread.
 
<lang M2000 Interpreter>
Form 80, 50
Anonymous user