troubleshooting Question

Must disable context switch in VB.NET 2005

Avatar of stev0931
stev0931 asked on
Visual Basic.NET
10 Comments1 Solution344 ViewsLast Modified:
I have a function that, when called, cannot be interrupted by ANYTHING.  After much frustration, I figured out that the reason it was having problems is that other time slices were interrupting it (I found I kept loosing 16ms here and there, but at different points and eventually isolated it to this).

How do I make it so that, from when the function starts to when the function ends, NOTHING interrupts it.  In case it matters, this function calls other functions and communicates with a database.  

I need a solution ASAP, so any help would be greatly appreciated.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros