tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Should we use _malloc_prefork and _malloc_postfork?



christos%zoulas.com@localhost (Christos Zoulas) writes:

> On Jan 7, 10:38pm, gdt%ir.bbn.com@localhost (Greg Troxel) wrote:
> -- Subject: Re: Should we use _malloc_prefork and _malloc_postfork?
>
> | Can you elaborate on what FreeBSD fork does?
>
> You can look at the source here:
>
> http://nxr.netbsd.org/xref/src-freebsd/lib/libthr/thread/thr_fork.c

So they call _malloc_prefork and _malloc_postfork; that seems like an
equivalent change to what Bev proposed, and it may be better to remain
more aligned with FreeBSD, all other things being equal.

Attachment: pgpbW3ER6yr0_.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index