RosettaCodeData/Task/Mutex/Ada/mutex-1.ada

7 lines
110 B
Ada
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
protected type Mutex is
entry Seize;
procedure Release;
private
Owned : Boolean := False;
end Mutex;