Changeset 8659 for trunk/src/kernel32/mmap.cpp
- Timestamp:
- Jun 13, 2002, 4:11:39 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/mmap.cpp
r8456 r8659 1 /* $Id: mmap.cpp,v 1.5 6 2002-05-20 13:47:59 sandervl Exp $ */1 /* $Id: mmap.cpp,v 1.57 2002-06-13 14:11:39 sandervl Exp $ */ 2 2 3 3 /* … … 34 34 #include "oslibdos.h" 35 35 #include <winimagepeldr.h> 36 #include <custombuild.h> 36 37 37 38 #define DBG_LOCALLOG DBG_mmap … … 45 46 Win32MemMapView *Win32MemMapView::mapviews = NULL; 46 47 48 49 static char *pszMMapSemName = NULL; 50 51 //****************************************************************************** 52 //****************************************************************************** 53 void WIN32API SetCustomMMapSemName(LPSTR pszSemName) 54 { 55 pszMMapSemName = pszSemName; 56 } 47 57 //****************************************************************************** 48 58 //****************************************************************************** … … 51 61 if(globalmapcritsect.hmtxLock == 0) { 52 62 dprintf(("InitializeMemMaps -> create shared critical section")); 53 DosInitializeCriticalSection(&globalmapcritsect, MEMMAP_CRITSECTION_NAME);63 DosInitializeCriticalSection(&globalmapcritsect, (pszMMapSemName) ? pszMMapSemName : MEMMAP_CRITSECTION_NAME); 54 64 } 55 65 else {
Note:
See TracChangeset
for help on using the changeset viewer.