On 02-Oct-00 Zhiui Zhang wrote:
>
> Suppose a process is scheduled to run, will it run until its quantum ends
> unless it calls tsleep() on his own? In other words, is it possible for a
> process to give up its quantum earlier without having it to do so
> voluntarily? Thanks.
If an interrupt occurs and puts a thread on the run queue (which will have
higher priority than the currently running proceess) then the current
process will be stopped so that the interrupt thread can run.
> -Zhihui
--
John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message