.netdelphioxygene

Is there a lock() statement in Delphi Prism?


What is the equivalent of the c# lock() statement in Delphi Prism? In VB.Net it's synclock() I believe.

Thanks in advance.


Solution

  • http://prismwiki.codegear.com/en/Locking_%28keyword%29

    The locking keyword should be what you want