What is the equivalent of the c# lock() statement in Delphi Prism? In VB.Net it's synclock() I believe.
Thanks in advance.
What is the equivalent of the c# lock() statement in Delphi Prism? In VB.Net it's synclock() I believe.
Thanks in advance.
http://prismwiki.codegear.com/en/Locking%5F%28keyword%29
The locking keyword should be what you want