I have some code that needs to run about 30 times per second in order to
work reliably (it is polling hardware).
What is the best way to do this so the system doesn't take a big hit? Right
now this little application is using up 90% of the processing time of my G4
1.25GHz, which is not ideal. It seems like the sleep() command only takes
an integer command (I tried sleep(0.01) but it just slept and never woke up.
I guess another option would be to make some kind of TimerTask. Would this
not suffer from the same ...