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(); |
|
175 |
174 |
176 const TInt count = container->Count(); |
175 const TInt count = container->Count(); |
177 for(TInt i=0; i<count; i++) |
176 for(TInt i=0; i<count; i++) |
178 { |
177 { |
179 DObject* object = (*container)[ i ]; |
178 DObject* object = (*container)[ i ]; |
191 } |
190 } |
192 |
191 |
193 } |
192 } |
194 } |
193 } |
195 |
194 |
196 NKern::UnlockSystem(); |
|
197 container->Signal(); |
195 container->Signal(); |
198 |
|
199 NKern::ThreadLeaveCS(); |
196 NKern::ThreadLeaveCS(); |
200 } |
197 } |
201 |
198 |
202 DThread& thread = ClientThread(); |
199 DThread& thread = ClientThread(); |
203 DProcess* myOwningProcess = threadAdaption.GetOwningProcess( thread ); |
200 DProcess* myOwningProcess = threadAdaption.GetOwningProcess( thread ); |