Mutex: Difference between revisions

m
Fixed lang tags.
m (→‎Win32: whitespace)
m (Fixed lang tags.)
Line 46:
 
Use:
<lang ada>declare
declare
M : Mutex;
begin
Line 61 ⟶ 60:
... -- Critical code
M.Release; -- Release the mutex
end;</lang>
</lang>
It is also possible to implement mutex as a monitor task.
=={{header|C}}==
Anonymous user