Hi,
We upgraded to a newer version of DataAbstract/Remoting SDK running under Delphi 11.1
In our project we use the TROInMemorySessionManager.
In the older versions of DataAbstract this class had a property Critical.
It’s no longer available in the new version.
We used it for example this way:
SessionManager.Critical.Enter;
try
SessionManager.GetAllSessions(list);
....
......
finally
SessionManager.Critical.Leave;
end;
Is it safe to replace it with Delphi’s System.TMonitor ?
→ System.TMonitor.Enter(SessionManager) & System.TMonitor.Exit(SessionManager)
Freddy