Lines Matching defs:threads
180 * seen this with threads, this workaround is used only when enabling threads.
384 isc__socketthread_t *threads;
950 cc = write(mgr->threads[threadid].pipe_fds[1], buf,
1816 * Note: this may complicate data protection among threads and
1887 thread = &manager->threads[sock->threadid];
2530 thread = &manager->threads[sock->threadid];
2613 thread = &sock->manager->threads[sock->threadid];
2692 thread = &manager->threads[sock->threadid];
2838 thread = &manager->threads[sock->threadid];
2995 nthread = &manager->threads[NEWCONNSOCK(dev)->threadid];
3128 unwatch_fd(&sock->manager->threads[sock->threadid], sock->fd,
3167 unwatch_fd(&sock->manager->threads[sock->threadid], sock->fd,
3910 manager->threads = isc_mem_get(mctx, sizeof(isc__socketthread_t) *
3915 manager->threads[i].manager = manager;
3916 manager->threads[i].threadid = i;
3917 setup_thread(&manager->threads[i]);
3918 isc_thread_create(netthread, &manager->threads[i],
3919 &manager->threads[i].thread);
3922 isc_thread_setname(manager->threads[i].thread, tname);
3987 isc_thread_join(manager->threads[i].thread, NULL);
3988 cleanup_thread(manager->mctx, &manager->threads[i]);
3993 isc_mem_put(manager->mctx, manager->threads,
5026 unwatch_fd(&sock->manager->threads[sock->threadid], sock->fd,
5671 thread = &manager->threads[sock->threadid];