fix memory allocation (MMAP) for shared LOCAL and GLOBAL in ENV_COPY

This commit is contained in:
vsc
2010-10-15 02:06:37 +01:00
parent 824ff4094c
commit 312d82816e
6 changed files with 29 additions and 10 deletions

View File

@@ -2504,7 +2504,7 @@ YAP_Init(YAP_init_args *yap_init)
Yap_init_local();
#ifdef YAPOR
if (worker_id != 0) {
#if SBA
#if SBA||ENV_COPY
/*
In the SBA we cannot just happily inherit registers
from the other workers