Re: Changeset 0306c5a64775
Michael Sperber <[email protected]> Sun, 08 Jan 2012 13:05:45 +0100
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
Will Noble <[email protected]> writes: > What's missing from this picture is OS signals. The VM recognizes OS signals > as a type of interrupt, but ROOT-WAIT doesn't check if anything is waiting > on one. I assumed the reason for this is because, while the run-time system > maintains queues for the other cases, POSIX maintains sole responsibility > for signal-waiters, and RTS doesn't call POSIX. > > This suggests to me that the RTS should at least keep track of the number of > threads waiting for a signal, and POSIX could increment/decrement that > number. Then there could be a function WAITING-ON-OS-SIGNAL? that ROOT-WAIT > could check. Yup. I just remembered this from the deep past when I looked at the signal docs in the manual - where this problem is documented. I definitely want to fix this before the release. -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla