Hi all,
I need to suspend execution from within a task for a short while (1
second or so, millisecond resolution would be best). On PC OSs, you can
use sleep(time to sleep) , but on Solaris sleep is an executable. I know
I can get this by using select() on a TCP/IP port, but that seems silly
for such a simple function, as seems starting the sleep executable just
for this. Does there exist such a function in Solaris 2.5 or do I have
to roll my own? I've also looked at create_timer and pals, but that
doesn't seem to fit the bill, as it employs signals. Ideas anyone?
Thanks, Mat Nieuwenhoven