views:

72

answers:

1

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

Thanks in advance.

+3  A: 

http://prismwiki.codegear.com/en/Locking%5F%28keyword%29

The locking keyword should be what you want

Mosh
Cheers mate!That's the one.
Alan Clark