Changeset 8952
- Timestamp:
- Aug 1, 2002, 6:02:41 PM (23 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/kernel32/HandleManager.cpp ¶
r8880 r8952 1 /* $Id: HandleManager.cpp,v 1. 89 2002-07-15 14:40:15sandervl Exp $ */1 /* $Id: HandleManager.cpp,v 1.90 2002-08-01 16:02:40 sandervl Exp $ */ 2 2 3 3 /* … … 2946 2946 { 2947 2947 dprintf(("ERROR: HMWaitForMultipleObjects: alloca failed to allocate %d handles", cObjects)); 2948 O32_SetLastError(ERROR_NOT_ENOUGH_MEMORY);2948 SetLastError(ERROR_NOT_ENOUGH_MEMORY); 2949 2949 return WAIT_FAILED; 2950 2950 } … … 2977 2977 2978 2978 *pLoop2 = *pLoop1; 2979 //// O32_SetLastError(ERROR_INVALID_HANDLE);2979 //// SetLastError(ERROR_INVALID_HANDLE); 2980 2980 //// return (WAIT_FAILED); 2981 2981 } … … 3081 3081 { 3082 3082 dprintf(("ERROR: HMMsgWaitForMultipleObjects: alloca failed to allocate %d handles", cObjects)); 3083 O32_SetLastError(ERROR_NOT_ENOUGH_MEMORY);3083 SetLastError(ERROR_NOT_ENOUGH_MEMORY); 3084 3084 return WAIT_FAILED; 3085 3085 } … … 3107 3107 3108 3108 *pLoop2 = *pLoop1; 3109 //// O32_SetLastError(ERROR_INVALID_HANDLE);3109 //// SetLastError(ERROR_INVALID_HANDLE); 3110 3110 //// return (WAIT_FAILED); 3111 3111 } -
TabularUnified trunk/src/kernel32/wprocess.cpp ¶
r8921 r8952 1 /* $Id: wprocess.cpp,v 1.15 7 2002-07-26 10:47:59sandervl Exp $ */1 /* $Id: wprocess.cpp,v 1.158 2002-08-01 16:02:41 sandervl Exp $ */ 2 2 3 3 /* … … 192 192 winteb->o.odin.hThread = hThread; 193 193 winteb->o.odin.threadId = dwThreadId; 194 195 // Event semaphore (auto-reset) to signal message post to MsgWaitForMultipleObjects 196 winteb->o.odin.hPostMsgEvent = CreateEventA(NULL, FALSE, FALSE, NULL); 194 197 195 198 return winteb; … … 377 380 // free allocated memory for security structures 378 381 free( winteb->o.odin.threadinfo.pTokenGroups ); 382 383 // free PostMessage event semaphore 384 if(winteb->o.odin.hPostMsgEvent) { 385 CloseHandle(winteb->o.odin.hPostMsgEvent); 386 } 379 387 380 388 #ifdef DEBUG
Note:
See TracChangeset
for help on using the changeset viewer.