G
guy
Hi,
I'm running a batch test using a C# program. This often takes several hours
to run and iterates over a bunch of parameters (say) 1000 times.
The processor is maxed out during this time.
I'd like to provide a button that cancels the batch test when it is
partially done.
I'm thinking about putting some Wait() or Pause() code in between the
iterations and then setting a flag if a Cancel button is pushed but not sure
if this would work.
What is the standard approach to implementing this sort of thing?
Thanks
I'm running a batch test using a C# program. This often takes several hours
to run and iterates over a bunch of parameters (say) 1000 times.
The processor is maxed out during this time.
I'd like to provide a button that cancels the batch test when it is
partially done.
I'm thinking about putting some Wait() or Pause() code in between the
iterations and then setting a flag if a Cancel button is pushed but not sure
if this would work.
What is the standard approach to implementing this sort of thing?
Thanks