I was busy deeper in things like multithreading and deadlock, etc. The book was intended for both pseudo-code and C code, and I was busy looking for implementations of things like Mutex locks and monitors.
It reminded the following: in C # and in fact .NET, we have a lot of syntactic sugar in order to do something. For example (.NET 3.5):
lock(obj)
{
body
}
Equally:
var temp = obj;
Monitor.Enter(temp);
try
{
body
}
finally
{
Monitor.Exit(temp);
}
, using() {} .. , " " , " " ? - , , , ?
, Process using, . - , .
,