Lines Matching defs:thread
74 TRACE("max thread count: %" B_PRId32 ", max bytes: %" B_PRIu64
131 // start a new worker thread to load the image
132 thread_id thread = spawn_thread(&ImageCache::_QueueWorkerThread,
134 if (thread >= B_OK) {
136 resume_thread(thread);
139 return thread;
172 // wait for running thread
173 thread_id thread;
175 thread = find_thread("image loader");
176 if (thread < 0)
178 wait_for_thread(thread, NULL);
187 TRACE("%ld: start worker thread\n", find_thread(NULL));
215 TRACE("%ld: end worker thread\n", find_thread(NULL));