Lines Matching defs:threads
76 * Keep track of our message ring handler threads, each core has a
78 * message handling threads every core, and wake them up depending on
83 struct thread *thread; /* msgring handler threads */
85 } threads[XLR_NTHREADS];
86 int running; /* number of threads running */
87 int nthreads; /* number of threads started */
91 static struct proc *msgring_proc; /* all threads are under a proc */
94 * The maximum number of software message handler threads to be started
114 * Message Stations are shared among all threads in a cpu core, this
244 * the watermark until all the possible handler threads in the core
307 td = mthd->threads[nt].thread;
318 mthd->threads[nt].needed = 1;
342 td = mthd->threads[tid].thread;
362 atomic_store_rel_int(&mthd->threads[tid].needed, 0);
373 if (mthd->threads[tid].needed) {
404 mthd->threads[tid].thread = td;
445 * Start message ring processing threads on other CPUs, after SMP start