[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] GCL and the fork system call
From: |
Gabriel Dos Reis |
Subject: |
Re: [Gcl-devel] GCL and the fork system call |
Date: |
Sat, 19 Dec 2009 16:33:06 -0600 |
Camm Maguire <address@hidden> writes:
| 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.
OK, many thanks for th info.
-- Gaby