Solaris does have vfork for a pretty long time now, but child after
vfork shares all memory with parent and should not muck around with
it until exec. I'm not sure how much freedom this leaves to setup
FDs properly and close unneeded files. As I understand it for now,
we'd need to write forking code with special considerations for vfork.
I have no experience on that matter. posix_spawn does not exist in sol8
On 3 Apr 2002, at 18:50, Robert Collins <robert.collins@itdomain.com.au> wrote:
> > -----Original Message-----
> > From: Henrik Nordstrom [mailto:hno@squid-cache.org]
> > Sent: Wednesday, April 03, 2002 5:32 PM
> > To: Robert Collins; Andres Kroonmaa
> > Cc: squid-dev@squid-cache.org
> > Subject: Re: (Fwd) Re: includes inside squid.conf
> >
> >
> > On Wednesday 03 April 2002 05:00, Robert Collins wrote:
> >
> > > Look up posix_spawn in the SUSv2. It should be fairly
> > portable by now,
> > > or at least a vfork+exec combination is.
> >
> > There is no posix_spawn in the SUSv2 copy I have.. are you looking in
> > SUSv3?
>
> Whoops, wrong reference.
>
> IEEE P1003.1 Draft 6 April 2001.
------------------------------------
Andres Kroonmaa <andre@online.ee>
CTO, Microlink Online
Tel: 6501 731, Fax: 6501 725
Pärnu mnt. 158, Tallinn,
11317 Estonia
Received on Wed Apr 03 2002 - 01:55:55 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:56 MST