serviceproviders/sapi_location/tsrc/dev/tlocationprovidertest/src/tconcurrentgetlocation.cpp
equal
deleted
inserted
replaced
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) |