Re: Minor POSIX overhaul
Will Noble <[email protected]> Tue, 25 Oct 2011 17:33:39 -0700
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Oct 25, 2011 at 09:50:40PM +0000, Taylor R Campbell wrote: > Date: Tue, 25 Oct 2011 12:58:08 -0700 > From: Will Noble <[email protected]> > > I modified the POSIX module so that Scheme code instead of C code > manages PID/errno/signal objects. So, where before posix_kill took > a PID record and a signal record, now it takes ints. I think the > comments hinted towards something along these lines. This removes > a good chunk of awkward (in my view) Scheme-written-in-C code. > > Moving the OS's values for all these things into Scheme makes heap > images OS-dependent. That may be appropriate for your application, > but it's an undesirable property for Scheme48 in general. Hi Taylor, Thanks for the quick respone! Is the issue you mention a problem even when, as before, symbolic errnos/signals resume correctly (by name) while numeric ones and PIDs are marked unresumable? I'm probably misunderstanding something but aren't users free to grab these records with OS-dependent values and put them wherever they want, even when C code manages the whole collection? Best, Will