[IronPython] Converting C# to Python ... the lock() keyword?

Sandy Walsh swalsh at impathnetworks.com
Mon Jan 11 18:43:03 CET 2010


Hi,

I'm converting a C# program to IronPython and running into the C# lock() 
command ... what is the equivalent operation in IronPython?

The C# is like:

  lock(m_object)
     if (...)
     {
      ...
      }

Thanks!
-Sandy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: swalsh.vcf
Type: text/x-vcard
Size: 313 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100111/8dbb288d/attachment.vcf>


More information about the Ironpython-users mailing list