Lines Matching defs:thread
72 /*! \brief Launches the given thread, passing responsiblity for it onto the
75 \param thread Pointer to a newly allocated \c RegistrarThread object.
78 object assumes ownership of \a thread; if the result is an error code, it
86 - \c B_BAD_THREAD_STATE: the thread has already been launched
90 RegistrarThreadManager::LaunchThread(RegistrarThread *thread)
92 status_t err = thread ? B_OK : B_BAD_VALUE;
101 fThreads.push_back(thread);
102 err = thread->Run();
106 if ((*i) == thread) {
117 " thread, id %ld\n", thread->Name(), thread->Id()));
135 " thread %ld\n", (*i)->Id()));
165 " thread %ld\n", (*i)->Id()));
170 " down thread %ld\n", (*i)->Id()));
183 snooze for a moment if find an unfinished thread, and kill it if
203 DBG(OUT("RegistrarThreadManager::KillThreads(): Killing thread"
211 DBG(OUT("RegistrarThreadManager::KillThreads(): Cleaning up thread"
229 as threads may remain in the thread list that are finished and waiting
241 /*! \brief Deletes the given thread and removes it from the thread list.