Hi, I have a question regarding short sleeps (under 10 millisec). I require to implement sleep with about 1-10 microsec accuracy (that's no problem), but I require to sleep for times ranging between 1 microsec to 1 millisec. From my understanding I have two options: 1) CPU tight loops, and count CPU cycles. 2) Use some sort of realtime clock.
(Since my code uses a lot of CPU already, I would really like to avoid method 1.) Can anyone point me to some examples on any (or both...) of the methods, pros and cons of each will be most welcome :-) Thanks, Ami ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
