Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison vmalloc.c @ 59:407f8ede98b4
minor -- made workStealingGares single start in VMS.h
| author | Me |
|---|---|
| date | Sun, 07 Nov 2010 06:51:34 -0800 |
| parents | 42dd44df1bb0 |
| children | 7b799a46cc87 |
comparison
equal
deleted
inserted
replaced
| 1:0d3829b76e44 | 2:af8d407abe7a |
|---|---|
| 65 else | 65 else |
| 66 currElem = currElem->nextChunkInFreeList; | 66 currElem = currElem->nextChunkInFreeList; |
| 67 } | 67 } |
| 68 | 68 |
| 69 if( foundElem == NULL ) | 69 if( foundElem == NULL ) |
| 70 { PRINT_ERROR("\nmalloc failed\n") | 70 { ERROR("\nmalloc failed\n") |
| 71 return NULL; //indicates malloc failed | 71 return NULL; //indicates malloc failed |
| 72 } | 72 } |
| 73 //Using a kludge to identify the element that is the top chunk in the | 73 //Using a kludge to identify the element that is the top chunk in the |
| 74 // heap -- saving top-of-heap addr in head's nextHigherInMem -- and | 74 // heap -- saving top-of-heap addr in head's nextHigherInMem -- and |
| 75 // save addr of start of heap in head's nextLowerInMem | 75 // save addr of start of heap in head's nextLowerInMem |
