Home
last modified time | relevance | path

Searched refs:thrp (Results 1 – 25 of 109) sorted by relevance

12345

/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/sofia-sip/libsofia-sip-ua/tport/
H A Dtport_threadpool.c192 threadpool_t *thrp; in tport_threadpool_init_primary() local
203 thrp = su_zalloc(tp->tp_home, (sizeof *thrp) * N); in tport_threadpool_init_primary()
204 if (!thrp) in tport_threadpool_init_primary()
220 thrp + i, in tport_threadpool_init_primary()
246 if (!thrp) in tport_threadpool_deinit_primary()
286 su_root_deregister(root, thrp->thrp_reg), thrp->thrp_reg = 0; in thrp_udp_deinit()
347 if (thrp->thrp_yield || (thrp->thrp_s_sent - thrp->thrp_s_recv) > 0) in thrp_udp_event()
359 unsigned qlen = thrp->thrp_r_sent - thrp->thrp_r_recv; in thrp_udp_recv_deliver()
405 thrp_yield(thrp); in thrp_udp_recv_deliver()
633 int qlen = thrp->thrp_r_sent - thrp->thrp_r_recv; in thrp_udp_deliver_report()
[all …]
/dports/net/sofia-sip/sofia-sip-1.13.4/libsofia-sip-ua/tport/
H A Dtport_threadpool.c192 threadpool_t *thrp; in tport_threadpool_init_primary() local
203 thrp = su_zalloc(tp->tp_home, (sizeof *thrp) * N); in tport_threadpool_init_primary()
204 if (!thrp) in tport_threadpool_init_primary()
220 thrp + i, in tport_threadpool_init_primary()
246 if (!thrp) in tport_threadpool_deinit_primary()
288 su_root_deregister(root, thrp->thrp_reg), thrp->thrp_reg = 0; in thrp_udp_deinit()
349 if (thrp->thrp_yield || (thrp->thrp_s_sent - thrp->thrp_s_recv) > 0) in thrp_udp_event()
361 unsigned qlen = thrp->thrp_r_sent - thrp->thrp_r_recv; in thrp_udp_recv_deliver()
407 thrp_yield(thrp); in thrp_udp_recv_deliver()
635 int qlen = thrp->thrp_r_sent - thrp->thrp_r_recv; in thrp_udp_deliver_report()
[all …]
/dports/devel/apr1/apr-util-1.6.1/test/
H A Dtestqueue.c94 apr_thread_pool_t *thrp; in test_queue_producer_consumer() local
102 rv = apr_thread_pool_create(&thrp, 0, NUMBER_CONSUMERS + NUMBER_PRODUCERS, p); in test_queue_producer_consumer()
106 rv = apr_thread_pool_push(thrp, consumer, tc, 0, NULL); in test_queue_producer_consumer()
111 rv = apr_thread_pool_push(thrp, producer, tc, 0, NULL); in test_queue_producer_consumer()
120 rv = apr_thread_pool_destroy(thrp); in test_queue_producer_consumer()
H A Dtestpass.c106 apr_thread_pool_t *thrp; in test_threadsafe() local
108 rv = apr_thread_pool_create(&thrp, NUM_THR/2, NUM_THR, p); in test_threadsafe()
112 rv = apr_thread_pool_push(thrp, testing_thread, tc, 0, NULL); in test_threadsafe()
116 apr_thread_pool_destroy(thrp); in test_threadsafe()
H A Dtestreslist.c221 apr_thread_pool_t *thrp; in test_reslist() local
224 rv = apr_thread_pool_create(&thrp, CONSUMER_THREADS/2, CONSUMER_THREADS, p); in test_reslist()
244 rv = apr_thread_pool_push(thrp, resource_consuming_thread, in test_reslist()
249 rv = apr_thread_pool_destroy(thrp); in test_reslist()
/dports/databases/db5/db-5.3.28/examples/c/ex_rep/common/
H A Drep_common.h55 #define thread_create(thrp, attr, func, arg) \ argument
56 (((*(thrp) = CreateThread(NULL, 0, \
67 #define thread_create(thrp, attr, func, arg) \ argument
68 pthread_create((thrp), (attr), (func), (arg))
/dports/databases/db18/db-18.1.40/examples/c/ex_rep/common/
H A Drep_common.h66 #define thread_create(thrp, attr, func, arg) \ argument
67 (((*(thrp) = CreateThread(NULL, 0, \
88 #define thread_create(thrp, attr, func, arg) \ argument
89 pthread_create((thrp), (attr), (func), (arg))
/dports/databases/db5/db-5.3.28/examples/c/ex_rep_chan/
H A Drep_chan.h75 #define thread_create(thrp, attr, func, arg) \ argument
76 (((*(thrp) = CreateThread(NULL, 0, \
94 #define thread_create(thrp, attr, func, arg) \ argument
95 pthread_create((thrp), (attr), (func), (arg))
/dports/databases/db18/db-18.1.40/examples/c/ex_rep_chan/
H A Drep_chan.h75 #define thread_create(thrp, attr, func, arg) \ argument
76 (((*(thrp) = CreateThread(NULL, 0, \
94 #define thread_create(thrp, attr, func, arg) \ argument
95 pthread_create((thrp), (attr), (func), (arg))
/dports/databases/db5/db-5.3.28/examples/cxx/txn_guide/
H A DTxnGuideInMemory.cpp25 #define thread_create(thrp, attr, func, arg) \ argument
26 (((*(thrp) = CreateThread(NULL, 0, \
45 #define thread_create(thrp, attr, func, arg) \ argument
46 pthread_create((thrp), (attr), (func), (arg))
H A DTxnGuide.cpp25 #define thread_create(thrp, attr, func, arg) \ argument
26 (((*(thrp) = CreateThread(NULL, 0, \
45 #define thread_create(thrp, attr, func, arg) \ argument
46 pthread_create((thrp), (attr), (func), (arg))
/dports/databases/db5/db-5.3.28/examples/stl/
H A DStlTransactionGuideExample.cpp24 #define thread_create(thrp, attr, func, arg) \ argument
25 (((*(thrp) = CreateThread(NULL, 0, \
44 #define thread_create(thrp, attr, func, arg) \ argument
45 pthread_create((thrp), (attr), (func), (arg))
/dports/databases/db18/db-18.1.40/examples/stl/
H A DStlTransactionGuideExample.cpp24 #define thread_create(thrp, attr, func, arg) \ argument
25 (((*(thrp) = CreateThread(NULL, 0, \
44 #define thread_create(thrp, attr, func, arg) \ argument
45 pthread_create((thrp), (attr), (func), (arg))
/dports/databases/db18/db-18.1.40/examples/cxx/txn_guide/
H A DTxnGuideInMemory.cpp25 #define thread_create(thrp, attr, func, arg) \ argument
26 (((*(thrp) = CreateThread(NULL, 0, \
45 #define thread_create(thrp, attr, func, arg) \ argument
46 pthread_create((thrp), (attr), (func), (arg))
H A DTxnGuide.cpp25 #define thread_create(thrp, attr, func, arg) \ argument
26 (((*(thrp) = CreateThread(NULL, 0, \
45 #define thread_create(thrp, attr, func, arg) \ argument
46 pthread_create((thrp), (attr), (func), (arg))
/dports/databases/db18/db-18.1.40/test/c/suites/
H A DTestKeyExistErrorReturn.c30 #define thread_create(thrp, attr, func, arg) \ argument
31 (((*(thrp) = CreateThread(NULL, 0, \
50 #define thread_create(thrp, attr, func, arg) \ argument
51 pthread_create((thrp), (attr), (func), (arg))
/dports/databases/db5/db-5.3.28/test/c/suites/
H A DTestKeyExistErrorReturn.c30 #define thread_create(thrp, attr, func, arg) \ argument
31 (((*(thrp) = CreateThread(NULL, 0, \
50 #define thread_create(thrp, attr, func, arg) \ argument
51 pthread_create((thrp), (attr), (func), (arg))
/dports/databases/db5/db-5.3.28/examples/c/txn_guide/
H A Dtxn_guide.c25 #define thread_create(thrp, attr, func, arg) \ argument
26 (((*(thrp) = CreateThread(NULL, 0, \
45 #define thread_create(thrp, attr, func, arg) \ argument
46 pthread_create((thrp), (attr), (func), (arg))
H A Dtxn_guide_inmemory.c25 #define thread_create(thrp, attr, func, arg) \ argument
26 (((*(thrp) = CreateThread(NULL, 0, \
45 #define thread_create(thrp, attr, func, arg) \ argument
46 pthread_create((thrp), (attr), (func), (arg))
/dports/databases/db18/db-18.1.40/examples/c/txn_guide/
H A Dtxn_guide_inmemory.c25 #define thread_create(thrp, attr, func, arg) \ argument
26 (((*(thrp) = CreateThread(NULL, 0, \
45 #define thread_create(thrp, attr, func, arg) \ argument
46 pthread_create((thrp), (attr), (func), (arg))
H A Dtxn_guide.c25 #define thread_create(thrp, attr, func, arg) \ argument
26 (((*(thrp) = CreateThread(NULL, 0, \
45 #define thread_create(thrp, attr, func, arg) \ argument
46 pthread_create((thrp), (attr), (func), (arg))
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/OpenMP/
H A Dparallel_ast_print.cpp150 int thrp; variable
151 #pragma omp threadprivate(thrp)
161 …e(argv) shared (d) if (parallel:argc > 0) num_threads(C) copyin(S<T>::TS, thrp) proc_bind(master) …
164 …e(argv) shared (d) if (parallel:argc > 0) num_threads(C) copyin(S<T>::TS, thrp) proc_bind(primary)…
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/OpenMP/
H A Dparallel_ast_print.cpp150 int thrp; variable
151 #pragma omp threadprivate(thrp)
161 …e(argv) shared (d) if (parallel:argc > 0) num_threads(C) copyin(S<T>::TS, thrp) proc_bind(master) …
164 …e(argv) shared (d) if (parallel:argc > 0) num_threads(C) copyin(S<T>::TS, thrp) proc_bind(primary)…
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/OpenMP/
H A Dparallel_ast_print.cpp150 int thrp; variable
151 #pragma omp threadprivate(thrp)
161 …e(argv) shared (d) if (parallel:argc > 0) num_threads(C) copyin(S<T>::TS, thrp) proc_bind(master) …
164 …e(argv) shared (d) if (parallel:argc > 0) num_threads(C) copyin(S<T>::TS, thrp) proc_bind(primary)…
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/OpenMP/
H A Dparallel_ast_print.cpp150 int thrp; variable
151 #pragma omp threadprivate(thrp)
161 …e(argv) shared (d) if (parallel:argc > 0) num_threads(C) copyin(S<T>::TS, thrp) proc_bind(master) …
164 …e(argv) shared (d) if (parallel:argc > 0) num_threads(C) copyin(S<T>::TS, thrp) proc_bind(primary)…

12345