jdcoburn
asked on
how to reinitialize a while loop running in a worker thread
hi -- I'm running a while loop in a worker thread -- polling for receive data from a custom board. I want to terminate the while loop when errors get excessive but then re-enter the loop when I'v e fixed the problem. Do I abort the thread, then restart it? There seems there should be a better way. Suspend and resume don't seem to work (and they've been deprecated).
i'm using C# and VS2008 with dot.net 3.5.
Jim
i'm using C# and VS2008 with dot.net 3.5.
Jim
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.