Changeset 5935 for trunk/src/user32/win32wndchild.cpp
- Timestamp:
- Jun 9, 2001, 4:50:26 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wndchild.cpp
r3663 r5935 1 /* $Id: win32wndchild.cpp,v 1. 6 2000-06-07 21:45:52sandervl Exp $ */1 /* $Id: win32wndchild.cpp,v 1.7 2001-06-09 14:50:24 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Child/Parent window class for OS/2 … … 19 19 //****************************************************************************** 20 20 //****************************************************************************** 21 ChildWindow::ChildWindow( )21 ChildWindow::ChildWindow(CRITICAL_SECTION *pLock) 22 22 { 23 parent = 0; 24 nextchild = 0; 25 children = 0; 23 parent = 0; 24 nextchild = 0; 25 children = 0; 26 pLockChild = pLock; 26 27 } 27 28 //****************************************************************************** … … 47 48 ChildWindow *curchild; 48 49 49 mutex.enter();50 Lock(); 50 51 51 52 curchild = children; … … 61 62 child->setNextChild(NULL); 62 63 63 mutex.leave();64 Unlock(); 64 65 return TRUE; 65 66 } … … 71 72 ChildWindow *curchild = children; 72 73 73 mutex.enter();74 Lock(); 74 75 75 76 if(curchild == child) { … … 80 81 dprintf(("ChildWindow::RemoveChild, children == NULL")); 81 82 DebugInt3(); 82 mutex.leave();83 Unlock(); 83 84 return FALSE; 84 85 } … … 88 89 dprintf(("ChildWindow::RemoveChild, curchild == NULL")); 89 90 DebugInt3(); 90 mutex.leave();91 Unlock(); 91 92 return FALSE; 92 93 } … … 94 95 curchild->setNextChild(child->getNextChild()); 95 96 } 96 mutex.leave();97 Unlock(); 97 98 return TRUE; 98 99 }
Note:
See TracChangeset
for help on using the changeset viewer.