contextswitchdeadlock

rrrprogrammer

Member
Joined
Aug 15, 2008
Messages
7
Programming Experience
10+
i'm using VB.NET application that reads multiple text files. While reading the file, i get an error "ContextSwitchDeadlock". The error does not occur on the same line of code. What can I do to fix this error?

I have tried the Application.DoEvents() inside my while loop, but the program stops and waits for me to click on something.

Someone, suggested turning off the MDA's ContextSwitchDeadlock thrown option in Exceptions menu for Debug which is not a good idea.
 
Back
Top