Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff VMS.c @ 132:dbfc8382d546
distributed memory allocation interface - unfinished
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Fri, 16 Sep 2011 14:25:49 +0200 |
| parents | d4c881c7f03a |
| children | a9b72021f053 |
line diff
1.1 --- a/VMS.c Wed Sep 07 17:45:05 2011 +0200 1.2 +++ b/VMS.c Fri Sep 16 14:25:49 2011 +0200 1.3 @@ -105,7 +105,11 @@ 1.4 //Very first thing put into the master env is the free-list, seeded 1.5 // with a massive initial chunk of memory. 1.6 //After this, all other mallocs are VMS__malloc. 1.7 - _VMSMasterEnv->freeListHead = VMS_ext__create_free_list(); 1.8 + int i; 1.9 + for(i=0; i<NUM_CORES; i++) 1.10 + { 1.11 + _VMSMasterEnv->freeListHead[i] = VMS_ext__create_free_list(); 1.12 + } 1.13 1.14 1.15 //============================= MEASUREMENT STUFF ========================
