Changeset 32627 for lang/objective-cplusplus/i3
- Timestamp:
- 04/19/09 21:30:10 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/objective-cplusplus/i3/trunk/src/mil/include/mil/Thread.h
r32626 r32627 99 99 memory--; 100 100 if (*memory != (void*)blocks) { 101 DebugBreak(); 101 fprintf(stderr, "blocks is invalid"); 102 return; 102 103 } 103 104 memory--; 104 105 if (*memory != (void*)GetCurrentThreadId()) { 105 DebugBreak(); 106 fprintf(stderr, "thread id is invalid"); 107 return; 106 108 } 107 109 ::free((void*)memory); … … 112 114 memory--; 113 115 if (*memory != (void*)Blocks<T>::value) { 114 DebugBreak(); 116 fprintf(stderr, "blocks id is invalid"); 117 return; 115 118 } 116 119 memory--; 117 120 if (*memory != (void*)GetCurrentThreadId()) { 118 DebugBreak(); 121 fprintf(stderr, "thread id is invalid"); 122 return; 119 123 } 120 124 ::free((void*)memory); … … 144 148 memory--; 145 149 if (*memory != (void*)blocks) { 146 DebugBreak(); 150 fprintf(stderr, "blocks id is invalid"); 151 return; 147 152 } 148 153 memory--; 149 154 if (*memory != (void*)GetCurrentThreadId()) { 150 DebugBreak(); 155 fprintf(stderr, "thread id is invalid"); 156 return; 151 157 } 152 158 ::free(memory);
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)