>Is the premature return from the system call (not caused by signal
>delivery) allowed by any standard?  How is this case handled in other
>operating systems?
>
>E.g. the www.opengroup.org page for poll() tells me
>that "... poll() shall wait at least timeout milliseconds
>for an event to occur on any of the selected file descriptors."
>OTOH, x/open does not seem to include the concept of
>changing system time...

I seem to remember that we fixed those as bugs before. And I think new
code is a regression.

>That is, kernel consumers of cv_waituntil_sig()
>may need more fixes; the idea is that user level code
>shouldn't need changes?

I think so too; if user code needs fixes, then I think there's a bug
in the kernel code; not specifically in the new callout implementation
but other callers need to make sure that the system calls work as before.


Casper

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to