Home
last modified time | relevance | path

Searched refs:thread (Results 676 - 700 of 2415) sorted by relevance

1...<<21222324252627282930>>...97

/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_187.cpp55 pthread_t thread; in Testcase() local
80 ret = pthread_create(&thread, &attr, pthread_f01, &paramTest); in Testcase()
83 ret = pthread_join(thread, &status); in Testcase()
H A DIt_posix_pthread_186.cpp54 pthread_t thread; in Testcase() local
84 ret = pthread_create(&thread, &attr, pthread_f01, &paramTest); in Testcase()
87 ret = pthread_join(thread, &status); in Testcase()
H A DIt_posix_pthread_188.cpp55 pthread_t thread; in Testcase() local
86 ret = pthread_create(&thread, &attr, pthread_f01, &paramTest); in Testcase()
89 ret = pthread_join(thread, &status); in Testcase()
H A DIt_posix_pthread_193.cpp46 pthread_t thread; in Testcase() local
81 ret = pthread_create(&thread, &attr, pthread_f01, NULL); in Testcase()
84 ret = pthread_join(thread, NULL); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/time/clock/full/
H A Dclock_test_010.cpp94 pthread_t thread; in ClockTest() local
102 ret = pthread_create(&thread, &attr, ClockTestThread, NULL); in ClockTest()
105 ret = pthread_join(thread, NULL); in ClockTest()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
H A Dpthread_once_test_001.cpp54 pthread_t thread[3]; in ThreadFuncTest() local
63 rc = pthread_create(&thread[i], NULL, Threadfunc, NULL); in ThreadFuncTest()
68 rc = pthread_join(thread[i], &status); in ThreadFuncTest()
/third_party/glfw/tests/
H A Dempty.c78 thrd_t thread; in main() local
99 if (thrd_create(&thread, thread_main, NULL) != thrd_success) in main()
101 fprintf(stderr, "Failed to create secondary thread\n"); in main()
127 thrd_join(thread, &result); in main()
/third_party/libuv/test/
H A Dtest-async.c27 static uv_thread_t thread; variable
62 * to kick in. Afterwards, the thread busy-loops, starving the main thread. in thread_cb()
102 r = uv_thread_create(&thread, thread_cb, NULL); in prepare_cb()
130 ASSERT_OK(uv_thread_join(&thread)); in TEST_IMPL()
/third_party/mesa3d/src/intel/vulkan/tests/
H A Dstate_pool_no_free.c34 pthread_t thread; member
73 pthread_create(&jobs[i].thread, NULL, alloc_states, &jobs[i]); in run_test()
77 pthread_join(jobs[i].thread, NULL); in run_test()
79 /* A list of indices, one per thread */ in run_test()
85 /* First, we find which thread has the highest next element */ in run_test()
/third_party/ltp/testcases/kernel/syscalls/sched_getattr/
H A Dsched_getattr01.c92 pthread_t thread; in main() local
103 pthread_create(&thread, NULL, run_deadline, NULL); in main()
104 pthread_join(thread, NULL); in main()
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/
H A Dldso_dlerror_test.cpp4 #include <thread>
38 thread t1(DlerrorChildThread, ref(childErr)); in HWTEST_F()
60 thread t1(DlerrorChildThread, ref(childErr)); in HWTEST_F()
/third_party/skia/third_party/externals/swiftshader/tests/SystemUnitTests/
H A DSynchronizationTests.cpp20 #include <thread>
62 auto t = std::thread([=, &b] { in TEST()
78 auto t = std::thread([=, &b] { in TEST()
/third_party/skia/third_party/externals/spirv-cross/include/spirv_cross/
H A Dthread_group.hpp23 #include <thread>
62 worker = std::thread([impl, this] { in start()
106 std::thread worker;
/third_party/skia/third_party/externals/dawn/src/utils/
H A DWindowsDebugLogger.cpp21 #include <thread>
37 mThread = std::thread( in WindowsDebugLogger()
103 std::thread mThread;
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
H A Dthread_pool.h22 #include <thread> // NOLINT(build/c++11)
37 threads_.push_back(std::thread(&ThreadPool::WorkLoop, this)); in ThreadPool()
56 // Schedule a function to be run on a ThreadPool thread immediately.
86 std::vector<std::thread> threads_;
/third_party/rust/crates/nix/test/
H A Dtest_timer.rs9 use std::thread;
80 thread::sleep(2 * TIMER_PERIOD); in alarm_fires()
98 thread::sleep(TIMER_PERIOD); in alarm_fires()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/
H A Di915_request.c312 struct smoke_thread *thread = container_of(work, typeof(*thread), work); in __igt_breadcrumbs_smoketest() local
313 struct smoketest *t = thread->t; in __igt_breadcrumbs_smoketest()
333 thread->result = -ENOMEM; in __igt_breadcrumbs_smoketest()
343 while (!READ_ONCE(thread->stop)) { in __igt_breadcrumbs_smoketest()
451 thread->result = err; in __igt_breadcrumbs_smoketest()
1466 struct parallel_thread *thread = in __live_parallel_engine1() local
1467 container_of(work, typeof(*thread), work); in __live_parallel_engine1()
1468 struct intel_engine_cs *engine = thread->engine; in __live_parallel_engine1()
1499 thread in __live_parallel_engine1()
1504 struct parallel_thread *thread = __live_parallel_engineN() local
1556 struct parallel_thread *thread = __live_parallel_spin() local
2966 struct p_thread *thread = container_of(work, typeof(*thread), work); p_sync0() local
3040 struct p_thread *thread = container_of(work, typeof(*thread), work); p_sync1() local
3117 struct p_thread *thread = container_of(work, typeof(*thread), work); p_many() local
[all...]
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-report.c42 #include "util/thread.h"
271 al.thread->lbr_stitch_enable = true; in process_sample_event()
759 struct thread *thread; member
766 struct thread *parent_thread, *thread = task->thread; in tasks_list() local
774 if (thread->ppid == -1) in tasks_list()
777 parent_thread = machine__find_thread(machine, -1, thread->ppid); in tasks_list()
807 struct thread *threa in task__print_level() local
[all...]
/kernel/linux/linux-5.10/arch/h8300/include/asm/
H A Dswitch_to.h45 : "r" (&(prev->thread)), \
46 "r" (&(next->thread)), \
/third_party/json/tests/thirdparty/Fuzzer/test/
H A DThreadedLeakTest.cpp4 // The fuzzer should find a leak in a non-main thread.
7 #include <thread>
14 std::thread T([&] { Sink = new int; }); in LLVMFuzzerTestOneInput()
/kernel/linux/linux-5.10/arch/arc/kernel/
H A Dkgdb.c60 current->thread.callee_reg); in pt_regs_to_gdb_regs()
66 current->thread.callee_reg); in gdb_regs_to_pt_regs()
74 (struct callee_regs *) task->thread.callee_reg); in sleeping_thread_to_gdb_regs()
114 current->thread.callee_reg, in do_single_step()
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Duprobes.c98 utask->autask.saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol()
99 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
109 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
122 * like do_page_fault/do_trap/etc sets thread.trap_nr != -1.
124 * arch_uprobe_pre_xol/arch_uprobe_post_xol save/restore thread.trap_nr,
130 if (tsk->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
167 * the thread has a fatal signal. Reset the instruction pointer to its
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dfpu.h169 tsk->thread.fpu.fcr31 = in lose_fpu_inatomic()
213 memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr)); in init_fp_ctx()
248 return tsk->thread.fpu.fpr; in get_fpu_regs()
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Duprobes.c119 utask->autask.saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol()
120 current->thread.trap_nr = UPROBE_TRAP_NR; in arch_uprobe_pre_xol()
130 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
140 * like do_page_fault/do_trap/etc sets thread.trap_nr != -1.
142 * arch_uprobe_pre_xol/arch_uprobe_post_xol save/restore thread.trap_nr,
148 if (tsk->thread.trap_nr != UPROBE_TRAP_NR) in arch_uprobe_xol_was_trapped()
185 * the thread has a fatal signal. Reset the instruction pointer to its
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dfpu.h169 tsk->thread.fpu.fcr31 = in lose_fpu_inatomic()
213 memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr)); in init_fp_ctx()
248 return tsk->thread.fpu.fpr; in get_fpu_regs()

Completed in 11 milliseconds

1...<<21222324252627282930>>...97