[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] About (chicken process) and (chicken process-conte
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] About (chicken process) and (chicken process-context) |
Date: |
Sat, 13 May 2017 13:39:36 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Wed, May 10, 2017 at 11:22:46AM +0200, address@hidden wrote:
[about moving some procedures to chicken.process-context and making the
posix module's API identical between Windows and UNIX]
> >
> > What do you all think?
>
> Yep, makes sense to me.
Attached are two patches that make it so.
I also noticed the various spawn/* definitions weren't exported on
UNIX either. The open/noinherit wasn't exported there either.
Initially, I thought open/noinherit should go into chicken.process,
because our docs state that it only applies to create-pipe, but I
think that's incorrect; you can use this flag for any open() call
in Windows (see https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx).
Therefore, it mercifully belong with all the other open/ flags, in
the (chicken file posix) module.
Once the patches are accepted I'll fix the new manual to mention
all of this.
Cheers,
Peter
0001-Improve-consistency-of-posix-interface-between-Windo.patch
Description: Text Data
0002-Move-process-group-id-and-create-session-to-chicken..patch
Description: Text Data
signature.asc
Description: Digital signature