How do you create threads that must contain loops w/o using 99% of the CPU for your process?
For instance, I need to constantly monitor the state of animations in my editor. Each animation is it's own thread and updates itself. As soon as the first thread fires, the CPU usage on the task manager shoots up to 100%. I have no idea how to implement the thread so that it does not have to loop, but if it terminates then I must re-create the thread and well that sort of defeats the purpose.
Any ideas? Should I fire off a completely new process or use threads?