equal
deleted
inserted
replaced
330 { |
330 { |
331 // Fetch next block |
331 // Fetch next block |
332 iNextState = EFetchContactBlock; |
332 iNextState = EFetchContactBlock; |
333 // Delay the next fetch since contact fetch is CPU intensive, |
333 // Delay the next fetch since contact fetch is CPU intensive, |
334 // this will give other threads a chance to use CPU |
334 // this will give other threads a chance to use CPU |
335 iTimer.After( iStatus, KTimerInterval); // 100 milliseconds |
335 if(!IsActive()) |
336 SetActive(); |
336 { |
|
337 iTimer.After( iStatus, KTimerInterval); // 100 milliseconds |
|
338 SetActive(); |
|
339 } |
|
340 |
337 } |
341 } |
338 |
342 |
339 } |
343 } |
340 |
344 |
341 // --------------------------------------------------------------------------- |
345 // --------------------------------------------------------------------------- |
359 { |
363 { |
360 // Fetch next block |
364 // Fetch next block |
361 iNextState = EFetchContactBlock; |
365 iNextState = EFetchContactBlock; |
362 // Delay the next fetch since contact fetch is CPU intensive, |
366 // Delay the next fetch since contact fetch is CPU intensive, |
363 // this will give other threads a chance to use CPU |
367 // this will give other threads a chance to use CPU |
364 iTimer.After( iStatus, KTimerInterval); // 100 milliseconds |
368 if(!IsActive()) |
365 SetActive(); |
369 { |
|
370 iTimer.After( iStatus, KTimerInterval); // 100 milliseconds |
|
371 SetActive(); |
|
372 } |
366 } |
373 } |
367 |
374 |
368 PRINT ( _L("End CPcsContactStore::VPbkSingleContactOperationFailed") ); |
375 PRINT ( _L("End CPcsContactStore::VPbkSingleContactOperationFailed") ); |
369 } |
376 } |
370 |
377 |