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

@@ -243,14 +243,12 @@ void make_root_frames(void) {
#endif /* TABLING */
}
#ifdef YAPOR
void init_workers(void) {
int proc;
#ifdef THREADS
return;
#endif
NOfThreads = number_workers;
#ifdef ACOW
if (number_workers > 1) {
int son;