Home
last modified time | relevance | path

Searched refs:thread_worker (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/tools/perf/bench/
H A Dfutex-wake.c44 static pthread_cond_t thread_parent, thread_worker; variable
68 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
163 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake()
176 pthread_cond_broadcast(&thread_worker); in bench_futex_wake()
206 pthread_cond_destroy(&thread_worker); in bench_futex_wake()
H A Dfutex-requeue.c43 static pthread_cond_t thread_parent, thread_worker; variable
80 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
158 pthread_cond_init(&thread_worker, NULL); in bench_futex_requeue()
171 pthread_cond_broadcast(&thread_worker); in bench_futex_requeue()
212 pthread_cond_destroy(&thread_worker); in bench_futex_requeue()
H A Dfutex-hash.c44 static pthread_cond_t thread_parent, thread_worker; variable
78 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
161 pthread_cond_init(&thread_worker, NULL); in bench_futex_hash()
190 pthread_cond_broadcast(&thread_worker); in bench_futex_hash()
204 pthread_cond_destroy(&thread_worker); in bench_futex_hash()
H A Dfutex-lock-pi.c43 static pthread_cond_t thread_parent, thread_worker; variable
88 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
184 pthread_cond_init(&thread_worker, NULL); in bench_futex_lock_pi()
196 pthread_cond_broadcast(&thread_worker); in bench_futex_lock_pi()
210 pthread_cond_destroy(&thread_worker); in bench_futex_lock_pi()
H A Dfutex-wake-parallel.c54 static pthread_cond_t thread_parent, thread_worker; variable
129 pthread_cond_wait(&thread_worker, &thread_lock); in blocked_workerfn()
279 pthread_cond_init(&thread_worker, NULL); in bench_futex_wake_parallel()
293 pthread_cond_broadcast(&thread_worker); in bench_futex_wake_parallel()
316 pthread_cond_destroy(&thread_worker); in bench_futex_wake_parallel()
H A Depoll-ctl.c65 static pthread_cond_t thread_parent, thread_worker; variable
182 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
360 pthread_cond_init(&thread_worker, NULL); in bench_epoll_ctl()
371 pthread_cond_broadcast(&thread_worker); in bench_epoll_ctl()
386 pthread_cond_destroy(&thread_worker); in bench_epoll_ctl()
H A Depoll-wait.c116 static pthread_cond_t thread_parent, thread_worker; variable
197 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn()
478 pthread_cond_init(&thread_worker, NULL); in bench_epoll_wait()
489 pthread_cond_broadcast(&thread_worker); in bench_epoll_wait()
514 pthread_cond_destroy(&thread_worker); in bench_epoll_wait()
/OK3568_Linux_fs/external/mpp/mpp/base/test/
H A Dmpp_task_test.c201 pthread_t thread_worker; in main() local
220 pthread_create(&thread_worker, &attr, task_worker, NULL); in main()
223 pthread_join(thread_worker, &dummy); in main()
230 pthread_create(&thread_worker, &attr, task_worker, NULL); in main()
233 pthread_join(thread_worker, &dummy); in main()
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dsstate.bbclass980 def checkstatus_init(thread_worker):
981 thread_worker.connection_cache = FetchConnectionCache()
983 def checkstatus_end(thread_worker):
984 thread_worker.connection_cache.close_connections()
986 def checkstatus(thread_worker, arg):
998 connection_cache=thread_worker.connection_cache)
1009 … bb.event.fire(bb.event.ProcessProgress(msg, len(tasklist) - thread_worker.tasks.qsize()), d)