Home | History | Annotate | Download | only in utils

Lines Matching refs:locThread

29 #include <LocThread.h>
41 LocThreadDelegate(LocThread::tCreate creator, const char* threadName,
45 static LocThreadDelegate* create(LocThread::tCreate creator,
66 LocThreadDelegate::LocThreadDelegate(LocThread::tCreate creator,
73 threadName = "LocThread";
113 LocThreadDelegate* LocThreadDelegate::create(LocThread::tCreate creator,
178 LocThreadDelegate* locThread = (LocThreadDelegate*)(arg);
180 if (locThread) {
181 LocRunnable* runnable = locThread->mRunnable;
184 if (locThread->isRunning()) {
188 while (locThread->isRunning() && runnable->run());
190 if (locThread->isRunning()) {
194 // at this time, locThread->mRunnable may or may not be NULL
197 locThread->mRunnable = NULL;
200 locThread->destroy();
206 LocThread::~LocThread() {
213 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable) {
223 void LocThread::stop() {
248 // 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
254 LocThread thread;