/netbsd-src/sys/kern/ |
H A D | kern_threadpool.c | 107 SDT_PROBE_DEFINE1(sdt, kernel, threadpool, get, 109 SDT_PROBE_DEFINE1(sdt, kernel, threadpool, get__create, 111 SDT_PROBE_DEFINE1(sdt, kernel, threadpool, get__race, 113 SDT_PROBE_DEFINE2(sdt, kernel, threadpool, put, 115 SDT_PROBE_DEFINE2(sdt, kernel, threadpool, put__destroy, 118 SDT_PROBE_DEFINE1(sdt, kernel, threadpool, percpu__get, 120 SDT_PROBE_DEFINE1(sdt, kernel, threadpool, percpu__get__create, 122 SDT_PROBE_DEFINE1(sdt, kernel, threadpool, percpu__get__race, 124 SDT_PROBE_DEFINE2(sdt, kernel, threadpool, percpu__put, 126 SDT_PROBE_DEFINE2(sdt, kernel, threadpool, percpu__put__destroy, [all …]
|
H A D | vfs_vnode.c | 177 #include <sys/threadpool.h> 210 static struct threadpool *threadpool; 438 error = threadpool_get(&threadpool, PRI_NONE); in vfs_vnode_sysinit() 550 threadpool_schedule_job(threadpool, &vrele_job); in lru_requeue() 552 threadpool_schedule_job(threadpool, &vdrain_job); in lru_requeue() 702 * threadpool task to keep the number of vnodes below desiredvnodes. 721 * threadpool task to process asynchronous vrele. 208 static struct threadpool *threadpool; global() variable
|
/netbsd-src/sys/sys/ |
H A D | threadpool.h | 45 struct threadpool; 64 int threadpool_get(struct threadpool **, pri_t); 65 void threadpool_put(struct threadpool *, pri_t); 69 struct threadpool * 71 struct threadpool * 80 void threadpool_schedule_job(struct threadpool *, struct threadpool_job *); 81 void threadpool_cancel_job(struct threadpool *, struct threadpool_job *); 82 bool threadpool_cancel_job_async(struct threadpool *,
|
/netbsd-src/external/mit/libuv/dist/docs/src/ |
H A D | threadpool.rst | 7 libuv provides a threadpool which can be used to run user code and get notified 17 The threadpool is global and shared across all event loops. When a particular 18 function makes use of the threadpool (i.e. when using :c:func:`uv_queue_work`) 43 thread after the work on the threadpool has been completed. If the work 64 from the threadpool. Once `work_cb` is completed, `after_work_cb` will be
|
H A D | migration_010_100.rst | 78 In libuv 0.10 Unix used a threadpool which defaulted to 4 threads, while Windows used the 79 `QueueUserWorkItem` API, which uses a Windows internal threadpool, which defaults to 512 83 does. The threadpool size can be set by exporting the ``UV_THREADPOOL_SIZE`` environment 84 variable. See :c:ref:`threadpool`. 243 does not need to make a roundtrip to the threadpool, because libuv will keep the
|
H A D | api.rst | 30 threadpool
|
H A D | fs.rst | 12 All file operations are run on the threadpool. See :ref:`threadpool` for information 13 on the threadpool size.
|
H A D | design.rst | 139 See the :c:ref:`threadpool` section for more details, but keep in mind the thread pool size
|
/netbsd-src/tests/rump/kernspace/ |
H A D | threadpool.c | 50 struct threadpool *pool0, *pool1, *pool2; in rumptest_threadpool_unbound_lifecycle() 158 struct threadpool *pool; in rumptest_threadpool_unbound_schedule() 184 struct threadpool *pool; in rumptest_threadpool_percpu_schedule() 211 struct threadpool *pool; in rumptest_threadpool_job_cancel() 247 struct threadpool *pool; in rumptest_threadpool_job_cancelthrash()
|
H A D | Makefile | 7 SRCS= thread.c threadpool.c busypage.c tsleep.c alloc.c lockme.c \
|
/netbsd-src/external/cddl/osnet/sys/kern/ |
H A D | taskq.c | 60 struct threadpool *tq_threadpool; /* Pool backing the jobs. */ 260 struct threadpool *threadpool; in taskq_create() local 266 if (threadpool_get(&threadpool, pri) != 0) in taskq_create() 287 tq->tq_threadpool = threadpool; in taskq_create()
|
/netbsd-src/tests/kernel/threadpool_tester/ |
H A D | threadpool_tester.c | 52 struct threadpool *ctx_unbound[PRI_COUNT + 1]; 70 struct threadpool *pool, *opool = NULL; in threadpool_tester_get_unbound() 119 struct threadpool *pool; in threadpool_tester_put_unbound() 158 struct threadpool *pool; in threadpool_tester_run_unbound() 284 struct threadpool *pool; in threadpool_tester_run_percpu() 450 struct threadpool *pool = in threadpool_tester_fini()
|
/netbsd-src/tests/modules/threadpool_tester/ |
H A D | threadpool_tester.c | 52 struct threadpool *ctx_unbound[PRI_COUNT + 1]; 70 struct threadpool *pool, *opool = NULL; in threadpool_tester_get_unbound() 119 struct threadpool *pool; in threadpool_tester_put_unbound() 158 struct threadpool *pool; in threadpool_tester_run_unbound() 284 struct threadpool *pool; in threadpool_tester_run_percpu() 450 struct threadpool *pool = in threadpool_tester_fini()
|
/netbsd-src/external/gpl3/binutils/dist/gold/ |
H A D | workqueue-threads.cc | 75 Workqueue_thread::Workqueue_thread(Workqueue_threader_threadpool* threadpool, in Workqueue_thread() argument 77 : threadpool_(threadpool), thread_number_(thread_number) in Workqueue_thread()
|
/netbsd-src/external/gpl3/binutils.old/dist/gold/ |
H A D | workqueue-threads.cc | 75 Workqueue_thread::Workqueue_thread(Workqueue_threader_threadpool* threadpool, in Workqueue_thread() argument 77 : threadpool_(threadpool), thread_number_(thread_number) in Workqueue_thread()
|
/netbsd-src/share/man/man9/ |
H A D | Makefile | 64 tcp_congctl.9 thmap.9 threadpool.9 timecounter.9 time_second.9 todr.9 \ 975 MLINKS+=threadpool.9 threadpool_get.9 \ 976 threadpool.9 threadpool_put.9 \ 977 threadpool.9 threadpool_percpu_get.9 \ 978 threadpool.9 threadpool_percpu_put.9 \ 979 threadpool.9 threadpool_percpu_ref.9 \ 980 threadpool.9 threadpool_percpu_ref_remote.9 \ 981 threadpool.9 threadpool_job_init.9 \ 982 threadpool.9 threadpool_job_destroy.9 \ 983 threadpool [all...] |
/netbsd-src/external/mit/libuv/dist/ |
H A D | Makefile.am | 24 include/uv/threadpool.h \ 41 src/threadpool.c \ 286 test/test-threadpool-cancel.c \ 287 test/test-threadpool.c \
|
H A D | CMakeLists.txt | 129 src/threadpool.c 597 test/test-threadpool-cancel.c 598 test/test-threadpool.c
|
H A D | ChangeLog | 447 * cleanup,win: Remove _WIN32 guards on threadpool (James M Snell) 1338 * threadpool: increase UV_THREADPOOL_SIZE limit (Vlad A) 1698 * unix,win: fix threadpool race condition (Anna Henningsen) 2086 * test: add threadpool init/teardown test (Bartosz Sosnowski) 2165 * test: add threadpool init/teardown test (Bartosz Sosnowski) 2167 * test: avoid malloc() in threadpool test (Ben Noordhuis) 2169 * test: lower number of tasks in threadpool test (Ben Noordhuis) 2930 * test: make threadpool saturation reliable (Ben Noordhuis) 3332 * threadpool: fix thread starvation bug (Ben Noordhuis) 3479 * threadpool: send signal only when queue is empty (chenttuuvv) [all …]
|
/netbsd-src/external/mit/libuv/dist/docs/src/guide/ |
H A D | networking.rst | 255 .. [#] libuv use the system ``getaddrinfo`` in the libuv threadpool. libuv
|
H A D | filesystem.rst | 16 .. _thread pool: https://docs.libuv.org/en/v1.x/threadpool.html#thread-pool-work-scheduling
|
H A D | utilities.rst | 202 use these in the event loop thread, use the :ref:`threadpool` instead. Of
|
/netbsd-src/sys/net/ |
H A D | if_wg.c | 83 #include <sys/threadpool.h> 136 * - It has a threadpool job that sends/receives handshake messages and 707 struct threadpool *wg_threadpool;
|