[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Split process-context library into "standard"
From: |
Evan Hanson |
Subject: |
[Chicken-hackers] [PATCH] Split process-context library into "standard" and "posix" components |
Date: |
Wed, 27 Dec 2017 19:56:11 +1300 |
On 2017-11-22 23:04, address@hidden wrote:
To be honest that process-context module seems like a weird sort of beast at
this point, mostly due to all the uid/gid stuff. I wonder if we should stick
that in a "posix" module underneath it, like we have done with "chicken.time".
Then you wouldn't have to pull posix in just to access argv, for exapmle.
Thoughts?
Sounds like a good idea to me.
Excellent, here's a patch that does so.
I think this is a much nicer organisation: the most useful procedures
are in the library unit and don't require loading extra code, while the
low-level stuff for interacting with fds, uid/gids, etc. stays in posix
for those that need it.
Let me know if you have any questions.
Happy holidays!
Evan
0001-Split-process-context-library-into-standard-and-posi.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-hackers] [PATCH] Split process-context library into "standard" and "posix" components,
Evan Hanson <=