Lines Matching refs:runnable
41 LocRunnable* runnable, bool joinable);
45 const char* threadName, LocRunnable* runnable, bool joinable);
66 const char* threadName, LocRunnable* runnable, bool joinable) : in LocThreadDelegate() argument
67 mRunnable(runnable), mJoinable(joinable), mThandle(NULL), in LocThreadDelegate()
112 const char* threadName, LocRunnable* runnable, bool joinable) { in create() argument
114 if (runnable) { in create()
115 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
179 LocRunnable* runnable = locThread->mRunnable; in threadMain() local
181 if (runnable) { in threadMain()
183 runnable->prerun(); in threadMain()
186 while (locThread->isRunning() && runnable->run()); in threadMain()
189 runnable->postrun(); in threadMain()
196 delete runnable; in threadMain()
211 bool LocThread::start(tCreate creator, const char* threadName, LocRunnable* runnable, bool joinable… in start() argument
214 mThread = LocThreadDelegate::create(creator, threadName, runnable, joinable); in start()