Lines Matching refs:runnable
42 LocRunnable* runnable, bool joinable);
46 const char* threadName, LocRunnable* runnable, bool joinable);
67 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
68 mRunnable(runnable), mJoinable(joinable), mThandle((pthread_t)NULL), in LocThreadDelegate()
114 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
116 if (runnable) { in create()
117 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
181 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
183 if (runnable) { in threadMain()
185 runnable->prerun(); in threadMain()
188 while (locThread->isRunning() && runnable->run()); in threadMain()
191 runnable->postrun(); in threadMain()
198 delete runnable; in threadMain()
213 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start() argument
216 mThread = LocThreadDelegate::create(creator, threadName, runnable, joinable); in start()