serviceproviders/sapi_location/tsrc/dev/tlocservicetest/src/tstraysignaltest.cpp
branchRCL_3
changeset 44 0b68a1b0c15e
parent 38 ea43c23d28d2
child 45 a9c0808a1095
equal deleted inserted replaced
43:1790c2f1027c 44:0b68a1b0c15e
   120     }
   120     }
   121 
   121 
   122 
   122 
   123 TInt StrayTest(TAny */*Arg*/)
   123 TInt StrayTest(TAny */*Arg*/)
   124     {
   124     {
   125     TInt errval = 0;
   125     TInt errval;
   126     CTrapCleanup* cleanup = CTrapCleanup::New();
   126     CTrapCleanup* cleanup = CTrapCleanup::New();
   127     //Install a new active scheduler to this thread 
   127     //Install a new active scheduler to this thread 
   128     TRAPD(err , errval = StrayTestL()) ;
   128     TRAPD(err , errval = StrayTestL()) ;
   129     delete cleanup ;
   129     delete cleanup ;
   130     return errval | err ;
   130     return errval | err ;