hi Steve, no experience of my own but think that you could investigate the source code for 'Tcl' which provides eventloop and hi-res timers. -- regards, jr. (jr at tailorware.org.uk)