gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] GCL and the fork system call


From: Camm Maguire
Subject: Re: [Gcl-devel] GCL and the fork system call
Date: Sat, 19 Dec 2009 11:15:46 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Greetings!

Gabriel Dos Reis <address@hidden> writes:

> Hi Camm --
>
>    It is "safe" for a C function linked into GCL image to call fork()?
>
> Thanks,
>

In general, yes.  This is used already in several places, esp.  cvs
head.

Please keep in mind that fork usually uses copy on write pages, so
that if you gc in the child, you will page out and copy basically the
entire heap.

Take care,

> -- Gaby
>
>
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gcl-devel
>
>
>
>

-- 
Camm Maguire                                        address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]