G
Guest
Hi,
Can two callers to WaitHandle::WaitAll reach a deadlock if their array's contain the same WaitHandles in different orders?
For example
Client One:
WaitHandle.WaitAll ( new WaitHandle[] { wh1, wh2, wh3 } )
Client Two:
WaitHandle.WaitAll ( new WaitHandle[] { wh3, wh2, wh1 } )
Can these two clients reach deadlock if Client One receives the signal for wh1 and Client Two receives a signal for wh1, or will WaitAll protect against this?
Thanks,
-Mike
Can two callers to WaitHandle::WaitAll reach a deadlock if their array's contain the same WaitHandles in different orders?
For example
Client One:
WaitHandle.WaitAll ( new WaitHandle[] { wh1, wh2, wh3 } )
Client Two:
WaitHandle.WaitAll ( new WaitHandle[] { wh3, wh2, wh1 } )
Can these two clients reach deadlock if Client One receives the signal for wh1 and Client Two receives a signal for wh1, or will WaitAll protect against this?
Thanks,
-Mike