serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/tconcurrentgetlocation.cpp
branchRCL_3
changeset 66 a9c0808a1095
parent 65 0b68a1b0c15e
equal deleted inserted replaced
65:0b68a1b0c15e 66:a9c0808a1095
   171 
   171 
   172 TInt ConcurrentGetLocationCalls(TAny */*Arg*/)
   172 TInt ConcurrentGetLocationCalls(TAny */*Arg*/)
   173 {
   173 {
   174   
   174   
   175 	CTrapCleanup* cleanup = CTrapCleanup::New();
   175 	CTrapCleanup* cleanup = CTrapCleanup::New();
   176 	TInt  Val ;
   176 	TInt  Val = 0;
   177 	//Install a new active scheduler to this thread 
   177 	//Install a new active scheduler to this thread 
   178 	TRAPD(err ,( Val = ConcurrentGetLocCallsL()) );
   178 	TRAPD(err ,( Val = ConcurrentGetLocCallsL()) );
   179 	delete cleanup ;
   179 	delete cleanup ;
   180  	
   180  	
   181  	if(err)
   181  	if(err)