When hyperthreading is not enabled we are able to run this code just fine
TimerCallback myCallBack = new TimerCallback( CheckForWork );
Timer myTimer = new System.Threading.Timer( myCallBack, null, 0, 3000);
The method is called every 3 seconds. When hyperthreading is enabled the
method is ran once and then stops. I am wondering of anyone knows why this
would be happening? We are running Windows XP Pro and have a Pentium 4, 3.0
GHz processor. Previously we had a while loop and a thread.sleep inside the
loop and it worked, but it seems using the thread pool would be more
efficient, but I am not sure if we should go back to that.
Thanks,
Travis