F
Frank Osterberg
Hi,
I want to simultaneously SyncLock multiple objects, something like:
SyncLock objA, objB
' do stuff with objA and objB
End SyncLock
but so that a lock is only obtained if BOTH objects can be locked obtained
simultaneously.
I want to prevent possible deadlocks when multiple threads lock these
objects conditionally and out of order.
Is that possible and if so how?
Thanks,
Frank
I want to simultaneously SyncLock multiple objects, something like:
SyncLock objA, objB
' do stuff with objA and objB
End SyncLock
but so that a lock is only obtained if BOTH objects can be locked obtained
simultaneously.
I want to prevent possible deadlocks when multiple threads lock these
objects conditionally and out of order.
Is that possible and if so how?
Thanks,
Frank