Changeset 9490 for trunk/src/user32/win32wndhandle.cpp
- Timestamp:
- Dec 12, 2002, 1:33:22 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wndhandle.cpp
r8978 r9490 1 /* $Id: win32wndhandle.cpp,v 1.1 6 2002-08-09 11:19:56sandervl Exp $ */1 /* $Id: win32wndhandle.cpp,v 1.17 2002-12-12 12:33:22 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Handle Management Code for OS/2 … … 35 35 #pragma data_seg() 36 36 37 static char *pszWndHandleSemName = NULL;37 static char *pszWndHandleSemName = WINHANDLE_CRITSECTION_NAME; 38 38 39 39 //****************************************************************************** … … 48 48 { 49 49 if(globalwhandlecritsect.hmtxLock == 0) { 50 DosInitializeCriticalSection(&globalwhandlecritsect, (pszWndHandleSemName) ? pszWndHandleSemName : WINHANDLE_CRITSECTION_NAME);50 DosInitializeCriticalSection(&globalwhandlecritsect, pszWndHandleSemName); 51 51 } 52 52 else { 53 53 dprintf(("InitializeWindowHandles -> access shared critical section")); 54 DosAccessCriticalSection(&globalwhandlecritsect, WINHANDLE_CRITSECTION_NAME);54 DosAccessCriticalSection(&globalwhandlecritsect, pszWndHandleSemName); 55 55 } 56 56 }
Note:
See TracChangeset
for help on using the changeset viewer.