View Single Post
Posts: 8 | Thanked: 1 time | Joined on Jun 2008
#3
Cheers for your reply. Yea i'll be wanting real time updates, but my main concern is avoiding infinite loops or big loops as much as possible.

The problem i think about using usleep is that it'll halt execution for a period of time, but i will require the function to re-execute after a period of time. I can achieve what i want with loops, but as we all know it's nasty to do so.

Last edited by phil128; 2010-07-28 at 01:41.