Re-entrancy problems on Vista

Re-entrancy problems on Vista

Post by c3B1cmRvZ » Sat, 23 Jun 2007 05:45:01


We are having re-entrancy problems with Monitor.Wait on Vista. Whenever you
do managed blocking in an STA, there is some potential message pumping going
on. On Windows XP our code works fine, but on Vista a call to Monitor.Wait
dispatches paint messages, and that is a real problem causing deadlocks and
crashes for us. Is there a way to turn this eatureoff? Or is there
another work-around?
 
 
 

Re-entrancy problems on Vista

Post by UGV0ZXIgUm » Thu, 12 Jul 2007 03:20:03

Are you calling Monitor.Wait on a GUI thread?

--
Browse http://www.yqcomputer.com/
http://www.yqcomputer.com/
Microsoft MVP, Visual Developer - Visual C#