Home
last modified time | relevance | path

Searched refs:thread (Results 876 - 900 of 2259) sorted by relevance

1...<<31323334353637383940>>...91

/third_party/icu/icu4c/source/test/intltest/
H A Dsimplethread.h12 #include <thread>
28 int32_t start(); // start the thread. Return 0 if successful.
29 void join(); // A thread must be joined before deleting its SimpleThread.
32 // in the thread.
34 std::thread fThread = {};
48 // &TestClass::func); // The function to be run by each thread.
50 // // is set to the thread number, 0 to numberOfThreads-1.
/third_party/ltp/testcases/kernel/mce-test/hwpoison/
H A Dtring.c58 void *thread(void *arg) in thread() function
72 pthread_create(&thr, NULL, thread, NULL); in main()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugefork/
H A Dhugefork02.c26 static void do_child(int thread, unsigned long size) in do_child() argument
39 tst_res(TFAIL, "Thread %d, Offset %lu mismatch", thread, k); in do_child()
/third_party/ltp/testcases/kernel/mce-test/tsrc/
H A Dtring.c58 void *thread(void *arg) in thread() function
72 pthread_create(&thr, NULL, thread, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/
H A D2-4.c15 * 4. Create a new thread.
35 static void *thread(void *tmp PTS_ATTRIBUTE_UNUSED) in thread() function
84 rc = pthread_create(&thread_id, &attr, thread, NULL); in main()
H A D2-3.c15 * 4. Create a new thread.
35 static void *thread(void *tmp PTS_ATTRIBUTE_UNUSED) in thread() function
83 rc = pthread_create(&thread_id, &attr, thread, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/speculative/
H A D4-1.c28 static void *thread(void *tmp) in thread() function
74 rc = pthread_create(&low_id, NULL, thread, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
H A D4-1.c19 * If the function fails, the policy and parameter of the target thread
23 * -> Create a new thread
78 /* This function checks the thread policy & priority */
79 static void check_param(pthread_t thread, int policy, int priority) in check_param() argument
93 /* Get the thread's parameters */ in check_param()
94 ret = pthread_getschedparam(thread, &t_pol, &t_parm); in check_param()
97 UNRESOLVED(ret, "Failed to get thread's parameters"); in check_param()
101 FAILED("The thread's policy is not as expected"); in check_param()
105 FAILED("The thread's priority is not as expected"); in check_param()
109 /* thread functio
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
H A Dthread_tss_test.cpp3 #include <thread>
38 * @tc.desc: 1. Set the function for the key and call tss once in the main thread and sub thread respectively tss_set to
39 * determine if the function in the key will be called in the sub thread, but not in the main thread
40 * 2. Create and obtain key verification equality in the main thread, and verify equality in the sub thread.
41 * The sub thread key and the main thread key are not equal,
55 std::thread([ in HWTEST_F()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
H A DDawnPerfTestPlatform.h22 #include <thread>
86 std::unordered_map<std::thread::id, std::unique_ptr<std::vector<TraceEvent>>>
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-pool.hh57 next = chunk->thread (); in alloc()
82 T* thread () in thread() function
/third_party/rust/crates/regex/examples/
H A Dshootout-regex-dna.rs10 use std::thread;
42 let future = thread::spawn(move || variant.find_iter(&seq).count()); in main()
/third_party/rust/crates/serde/serde_derive_internals/src/
H A Dctxt.rs4 use std::thread;
64 if !thread::panicking() && self.errors.borrow().is_some() { in drop()
/third_party/rust/crates/serde/serde_derive/src/internals/
H A Dctxt.rs4 use std::thread;
64 if !thread::panicking() && self.errors.borrow().is_some() { in drop()
/third_party/vulkan-loader/tests/live_verification/
H A Dmacos_static_loader_build.cpp28 #include <thread>
77 std::vector<std::thread> threads; in main()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dintel-pt.c27 #include "thread.h"
28 #include "thread-stack.h"
69 struct thread *unknown_thread;
200 struct thread *thread; member
202 struct thread *guest_thread;
203 struct thread *unknown_guest_thread;
753 struct thread *thread; in intel_pt_walk_next_insn() local
788 thread in intel_pt_walk_next_insn()
984 struct thread *thread; __intel_pt_pgd_ip() local
1236 struct thread *thread = machine__findnew_thread(pt->machine, intel_pt_add_callchain() local
1274 struct thread *thread = machine__findnew_thread(pt->machine, intel_pt_add_br_stack() local
3380 intel_pt_find_map(struct thread *thread, u8 cpumode, u64 addr, struct addr_location *al) intel_pt_find_map() argument
3398 struct thread *thread = pt->unknown_thread; intel_pt_text_poke() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DRenderer.cpp698 if(threadCount == 1) // Use main thread for draw execution in draw()
1118 void Renderer::processPrimitiveVertices(int unit, unsigned int start, unsigned int triangleCount, unsigned int loop, int thread) in processPrimitiveVertices() argument
1124 VertexTask *task = vertexTask[thread]; in processPrimitiveVertices()
2172 for(int thread = 0; thread < threadCount; thread++) in terminateThreads()
2174 if(worker[thread]) in terminateThreads()
2177 resume[thread]->signal(); in terminateThreads()
2178 worker[thread]->join(); in terminateThreads()
2180 delete worker[thread]; in terminateThreads()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/scheduler/
H A Dsched_main.c295 * drm_sched_cleanup_jobs. It will be reinserted back after sched->thread in drm_sched_job_timedout()
381 kthread_park(sched->thread); in drm_sched_stop()
388 * now until the scheduler thread is unparked. in drm_sched_stop()
401 * This iteration is thread safe as sched thread is stopped. in drm_sched_stop()
461 * Locking the list is not required here as the sched thread is parked in drm_sched_start()
491 kthread_unpark(sched->thread); in drm_sched_start()
676 * Don't destroy jobs while the timeout worker is running OR thread in drm_sched_get_cleanup_job()
757 * drm_sched_main - main scheduler thread
867 /* Each scheduler will run on a seperate kernel thread */ in drm_sched_init()
[all...]
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dprocessor.h140 /* Other stuff associated with the thread. */
153 #define thread_saved_ra(tsk) (tsk->thread.sched_ra)
154 #define thread_saved_fp(tsk) (tsk->thread.sched_cfa)
200 /* Free all resources held by a thread. */
201 #define release_thread(thread) do { } while(0)
208 * Do necessary setup to start up a newly executed thread.
/kernel/linux/linux-5.10/arch/hexagon/kernel/
H A Dsmp.c124 * to point to current thread info
180 struct thread_info *thread = (struct thread_info *)idle->stack; in __cpu_up() local
183 thread->cpu = cpu; in __cpu_up()
186 stack_start = ((void *) thread) + THREAD_SIZE; in __cpu_up()
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Delf.h55 thread local data. */
57 thread local data. */
65 thread local data in LD code. */
67 thread local data in LD code. */
236 current->thread.sys_call_table = \
247 current->thread.sys_call_table = \
251 current->thread.sys_call_table = \
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/
H A Dskip-callchain-idx.c12 #include "util/thread.h"
242 int arch_skip_callchain_idx(struct thread *thread, struct ip_callchain *chain) in arch_skip_callchain_idx() argument
255 thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al); in arch_skip_callchain_idx()
/kernel/linux/linux-6.6/tools/perf/arch/powerpc/util/
H A Dskip-callchain-idx.c12 #include "util/thread.h"
242 int arch_skip_callchain_idx(struct thread *thread, struct ip_callchain *chain) in arch_skip_callchain_idx() argument
256 thread__find_symbol(thread, PERF_RECORD_MISC_USER, ip, &al); in arch_skip_callchain_idx()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dtests.h171 struct thread;
174 struct thread *thread);
/kernel/linux/linux-6.6/tools/perf/scripts/python/Perf-Trace-Util/
H A DContext.c18 #include "../../../util/thread.h"
103 if (c->sample->ip && !c->sample->insn_len && thread__maps(c->al->thread)) { in perf_sample_insn()
104 struct machine *machine = maps__machine(thread__maps(c->al->thread)); in perf_sample_insn()
106 script_fetch_insn(c->sample, c->al->thread, machine); in perf_sample_insn()

Completed in 15 milliseconds

1...<<31323334353637383940>>...91