equal
deleted
inserted
replaced
209 TZipInfo z; |
209 TZipInfo z; |
210 z.iRemain=size; |
210 z.iRemain=size; |
211 r=Initialise(z); |
211 r=Initialise(z); |
212 CHECK(r); |
212 CHECK(r); |
213 test.Printf(_L("Read header\n")); |
213 test.Printf(_L("Read header\n")); |
214 TUint32 c=0; |
|
215 RThread t; |
214 RThread t; |
216 t.SetHandle(z.iThreadHandle); |
215 t.SetHandle(z.iThreadHandle); |
217 while (z.iRemain && z.iThreadStatus==KRequestPending) |
216 while (z.iRemain && z.iThreadStatus==KRequestPending) |
218 { |
217 { |
219 TRequestStatus dummy; |
218 TRequestStatus dummy; |
226 DELAY(20000); |
225 DELAY(20000); |
227 if (z.iHeaderDone==1 && z.iThreadStatus==KRequestPending) |
226 if (z.iHeaderDone==1 && z.iThreadStatus==KRequestPending) |
228 { |
227 { |
229 // after reading first block, process the header |
228 // after reading first block, process the header |
230 ProcessHeader(z); |
229 ProcessHeader(z); |
231 c=User::NTickCount(); |
|
232 } |
230 } |
233 } |
231 } |
234 test.Printf(_L("\nWait for thread to exit\n")); |
232 test.Printf(_L("\nWait for thread to exit\n")); |
235 User::WaitForRequest(z.iThreadStatus); |
233 User::WaitForRequest(z.iThreadStatus); |
236 TInt exitType=t.ExitType(); |
234 TInt exitType=t.ExitType(); |