Changeset 1490 for trunk/src/kernel32/heapshared.cpp
- Timestamp:
- Oct 28, 1999, 2:01:12 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/heapshared.cpp
r1432 r1490 1 /* $Id: heapshared.cpp,v 1. 1 1999-10-24 22:53:24sandervl Exp $ */1 /* $Id: heapshared.cpp,v 1.2 1999-10-28 12:01:12 sandervl Exp $ */ 2 2 /* 3 3 * Shared heap functions for OS/2 … … 5 5 * Initially commit 16 kb, add more when required 6 6 * 7 * NOTE: Hardcoded limit of 256 KB per process(increase when required)7 * NOTE: Hardcoded limit of 256 KB (increase when required) 8 8 * 9 9 * TODO: Not process/thread safe (initializing/destroying heap) … … 19 19 #include <os2wrap.h> 20 20 #include <misc.h> 21 #include "heapshared.h"21 #include <heapshared.h> 22 22 23 23 //Global DLL Data … … 69 69 return FALSE; 70 70 } 71 if(_uopen(sharedHeap) != 0) { 72 dprintf(("InitializeSharedHeap: unable to open shared heap!")); 73 return FALSE; 74 } 71 75 } 72 76 refCount++; … … 88 92 pSharedMem = NULL; 89 93 } 94 } 95 else { 96 _uclose(sharedHeap); 90 97 } 91 98 }
Note:
See TracChangeset
for help on using the changeset viewer.