I have a thread:
ThreadStart myThreadDelegat e = new
ThreadStart(Thr eadFunction1.ge tOneAtATime);
Thread thr1 = new Thread(myThread Delegate);
thr1.Start();
then another function that only works if in debug mode...I thought it
just needed slowing down, but that didn't work either.
It happens in a do loop:
do{ <--works only in debug mode.
//do something
Thread.Sleep(10 00);
} while (couNTer1 == false);
Any help is appreciated.
Thanks,
Trint
ThreadStart myThreadDelegat e = new
ThreadStart(Thr eadFunction1.ge tOneAtATime);
Thread thr1 = new Thread(myThread Delegate);
thr1.Start();
then another function that only works if in debug mode...I thought it
just needed slowing down, but that didn't work either.
It happens in a do loop:
do{ <--works only in debug mode.
//do something
Thread.Sleep(10 00);
} while (couNTer1 == false);
Any help is appreciated.
Thanks,
Trint
Comment