Utility class for helping to debug deadlocks caused by lock synchronization.
For a list of all members of this type, see Lock Members.
System.Object
EnterpriseDT.Util.Debug.Lock
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
When run in debug mode it will print logging information before entering and after leaving each lock-block. To use, replace all occurrances of lock(xyz)
with using(new LoggingLock(xyz))
.
Namespace: EnterpriseDT.Util.Debug
Assembly: edtFTPnet (in edtFTPnet.dll)