looking for a unix system call

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Jun 27 22:43:37 AEST 1990


In article <1858 at vela.acs.oakland.edu> bminnebo at vela.acs.oakland.edu (Brian P. Minnebo) writes:
>I not sure I want to use pause or sleep, since I don't want
>the process to be restarted at any particular time, I just want the
>process to be rescheduled as if it naturally finished out its time slice.

While there's no particular system call to do this, sleep(0) would be
an obvious candidate.  Also, any system call provides an opportunity
for the kernel to schedule other processes, so a cheap one like getpid()
might suffice.



More information about the Comp.unix.questions mailing list