I have an application in which a measurement will take about 4 minutes and I would like to
put it into its own thread. A mintue later, this measurement will happen again.
Is it better to create and then stop the measurement thread each time it is needed, or stay
in the thread and use some mechanism to delay between measurements.
i.e. is it better to create and destroy secondary threads as needed, OR stay within one
secondary thread and just waste time when it is not needed? If the latter, what is a good way
to kill time without pigging the CPU?
thanks