equal
deleted
inserted
replaced
169 // Must impersonate a SID: |
169 // Must impersonate a SID: |
170 NKern::ThreadEnterCS(); |
170 NKern::ThreadEnterCS(); |
171 |
171 |
172 DObjectCon* container = Kern::Containers()[ EProcess ]; |
172 DObjectCon* container = Kern::Containers()[ EProcess ]; |
173 container->Wait(); |
173 container->Wait(); |
|
174 NKern::LockSystem(); |
174 |
175 |
175 const TInt count = container->Count(); |
176 const TInt count = container->Count(); |
176 for(TInt i=0; i<count; i++) |
177 for(TInt i=0; i<count; i++) |
177 { |
178 { |
178 DObject* object = (*container)[ i ]; |
179 DObject* object = (*container)[ i ]; |
190 } |
191 } |
191 |
192 |
192 } |
193 } |
193 } |
194 } |
194 |
195 |
|
196 NKern::UnlockSystem(); |
195 container->Signal(); |
197 container->Signal(); |
|
198 |
196 NKern::ThreadLeaveCS(); |
199 NKern::ThreadLeaveCS(); |
197 } |
200 } |
198 |
201 |
199 DThread& thread = ClientThread(); |
202 DThread& thread = ClientThread(); |
200 DProcess* myOwningProcess = threadAdaption.GetOwningProcess( thread ); |
203 DProcess* myOwningProcess = threadAdaption.GetOwningProcess( thread ); |