serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/TraceTO.cpp
branchRCL_3
changeset 44 0b68a1b0c15e
parent 38 ea43c23d28d2
child 45 a9c0808a1095
equal deleted inserted replaced
43:1790c2f1027c 44:0b68a1b0c15e
   216 
   216 
   217 TInt TraceTO(TAny */*Arg*/)
   217 TInt TraceTO(TAny */*Arg*/)
   218 {
   218 {
   219   
   219   
   220     CTrapCleanup* cleanup = CTrapCleanup::New();
   220     CTrapCleanup* cleanup = CTrapCleanup::New();
   221     TInt  Val = 0;
   221     TInt  Val ;
   222     //Install a new active scheduler to this thread 
   222     //Install a new active scheduler to this thread 
   223     TRAPD(err ,( Val = TraceTOL()) );
   223     TRAPD(err ,( Val = TraceTOL()) );
   224     delete cleanup ;
   224     delete cleanup ;
   225     
   225     
   226     if(err)
   226     if(err)