Changeset 4046 for branches/GRACE/src/win32k/ldr/myldrOpen.cpp
- Timestamp:
- Aug 19, 2000, 4:37:21 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GRACE/src/win32k/ldr/myldrOpen.cpp
r4025 r4046 1 /* $Id: myldrOpen.cpp,v 1.10.4. 3 2000-08-17 08:23:33bird Exp $1 /* $Id: myldrOpen.cpp,v 1.10.4.4 2000-08-19 14:37:15 bird Exp $ 2 2 * 3 3 * myldrOpen - ldrOpen. … … 18 18 #define INCL_OS2KRNL_IO 19 19 #define INCL_OS2KRNL_TCB 20 #define INCL_OS2KRNL_SEM 20 21 21 22 /******************************************************************************* … … 115 116 { 116 117 kprintf(("myldrOpen-%d: rmalloc(640) failed\n", cNesting)); 117 return NO_ERROR;118 goto semcleanup; 118 119 } 119 120 … … 639 640 #endif 640 641 642 semcleanup: 643 /* 644 * We have to clean the smaphore which was taken by mytkExecPgm here 645 * because we might not return before the new child is finsished 646 * executing. 647 * It is not risk in releasing the semphore here since it's taken 648 * three times now. First by tkExecPgm then by LDROpenExe. 649 */ 650 if (isLdrStateExecPgm() && fLdrSemTaken) 651 { 652 KSEMReleaseMutex((HKMTX)pLdrSem); 653 fLdrSemTaken = 0; 654 } 655 641 656 /** @sketch 642 657 * Return rc.
Note:
See TracChangeset
for help on using the changeset viewer.