Home | History | Annotate | Download | only in utils

Lines Matching refs:locThread

29 #include <LocThread.h>
40 LocThreadDelegate(LocThread::tCreate creator, const char* threadName,
44 static LocThreadDelegate* create(LocThread::tCreate creator,
65 LocThreadDelegate::LocThreadDelegate(LocThread::tCreate creator,
72 threadName = "LocThread";
111 LocThreadDelegate* LocThreadDelegate::create(LocThread::tCreate creator,
176 LocThreadDelegate* locThread = (LocThreadDelegate*)(arg);
178 if (locThread) {
179 LocRunnable* runnable = locThread->mRunnable;
182 if (locThread->isRunning()) {
186 while (locThread->isRunning() && runnable->run());
188 if (locThread->isRunning()) {
192 // at this time, locThread->mRunnable may or may not be NULL
195 locThread->mRunnable = NULL;
198 locThread->destroy();
204 LocThread::~LocThread() {
211 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable) {
221 void LocThread::stop() {
246 // compile: g++ -D__LOC_HOST_DEBUG__ -D__LOC_DEBUG__ -g -std=c++0x -I. -I../../../../vendor/qcom/proprietary/gps-internal/unit-tests/fakes_for_host -I../../../../system/core/include -lpthread LocThread.cpp
252 LocThread thread;