Home
last modified time | relevance | path

Searched refs:thread (Results 1176 - 1200 of 3960) sorted by relevance

1...<<41424344454647484950>>...159

/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dstacktrace.c86 regs->regs[29] = tsk->thread.reg29; in save_stack_trace_tsk()
88 regs->cp0_epc = tsk->thread.reg31; in save_stack_trace_tsk()
/kernel/linux/linux-6.6/arch/microblaze/include/asm/
H A Dmmu_context_mm.h117 tsk->thread.pgdir = next->pgd; in switch_mm()
130 current->thread.pgdir = mm->pgd; in activate_mm()
/kernel/linux/linux-6.6/arch/arm/nwfpe/
H A Dfpmodule.c50 struct thread_info *thread = v; in nwfpe_notify() local
53 nwfpe_init_fpa(&thread->fpstate); in nwfpe_notify()
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/
H A Dcgroup_util.h51 extern ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size);
52 extern int proc_read_strstr(int pid, bool thread, const char *item, const char *needle);
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
H A Dunwind-libdw.c7 bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg) in libdw__arch_set_initial_registers() argument
52 return dwfl_thread_state_registers(thread, 0, nregs, dwarf_regs); in libdw__arch_set_initial_registers()
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dstacktrace.h79 return &((struct inactive_task_frame *)task->thread.sp)->bp; in get_frame_pointer()
98 return (unsigned long *)task->thread.sp; in get_stack_pointer()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dcet.c63 tsk->thread.error_code = error_code; in do_user_cp_fault()
64 tsk->thread.trap_nr = X86_TRAP_CP; in do_user_cp_fault()
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
H A Dunwind-libdw.c8 bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg) in libdw__arch_set_initial_registers() argument
53 return dwfl_thread_state_registers(thread, 0, nregs, dwarf_regs); in libdw__arch_set_initial_registers()
/kernel/linux/linux-6.6/tools/perf/tests/shell/lib/
H A Dstat_output.sh76 echo -n "Checking $1 output: per thread "
82 perf stat --per-thread -a $2 true
83 commachecker --per-thread
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dcgroup_util.h58 extern ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size);
59 extern int proc_read_strstr(int pid, bool thread, const char *item, const char *needle);
/kernel/liteos_m/testsuites/sample/posix/mutex/
H A DIt_posix_mutex.c33 UINT32 PosixPthreadDestroy(pthread_attr_t *attr, pthread_t thread) in PosixPthreadDestroy() argument
37 uwRet = pthread_join(thread, NULL); in PosixPthreadDestroy()
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/
H A Dpthread_mutex_test_002.cpp44 pthread_t thread = pthread_self(); in ThreadFuncTest3() local
46 ret = pthread_detach(thread); in ThreadFuncTest3()
H A Dpthread_mutex_test_017.cpp41 pthread_t thread = pthread_self(); in ThreadFuncTest3() local
43 ret = pthread_detach(thread); in ThreadFuncTest3()
/third_party/elfutils/tests/
H A Ddwfl-proc-attach.c64 thread_callback (Dwfl_Thread *thread, void *thread_arg) in thread_callback() argument
67 pid_t tid = dwfl_thread_tid (thread); in thread_callback()
68 printf ("thread tid: %d\n", tid); in thread_callback()
/third_party/benchmark/src/
H A Dbenchmark_runner.h18 #include <thread>
99 std::vector<std::thread> pool;
/third_party/icu/icu4c/source/test/intltest/
H A Dsimplethread.cpp12 #include <thread>
25 fThread = std::thread(&SimpleThread::run, this); in start()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/
H A D1-4.c9 * shall create a thread with the pthread_attr settings passed to it
13 * 2. Create a thread using this attr
14 * 3. In the thread, check these settings.
31 /* the thread uses this to indicate to main or success */
33 /* the thread uses this to indicate to main or success */
37 static void *thread(void *tmp PTS_ATTRIBUTE_UNUSED) in thread() function
88 /* Create the thread with the attr */ in main()
89 rc = pthread_create(&thread_id, &attr, thread, NULL); in main()
95 /* Wait for that thread to finish */ in main()
H A D1-3.c9 * shall create a thread with the pthread_attr settings passed to it
13 * 2. Create a thread using this attr
14 * 3. In the thread, check these settings.
31 /* the thread uses this to indicate to main or success */
33 /* the thread uses this to indicate to main or success */
37 static void *thread(void *tmp PTS_ATTRIBUTE_UNUSED) in thread() function
85 /* Create the thread with the attr */ in main()
86 rc = pthread_create(&thread_id, &attr, thread, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
H A D1-2.c19 * The function sets the scheduling policy and parameter of the specified thread.
22 * -> Create a new thread
23 * -> create another thread which changes the scheduling policy of the 1st thread
25 * The test fails if the 1st thread policy is not changed.
76 /* This function checks the thread policy & priority */
77 static void check_param(pthread_t thread, int policy, int priority) in check_param() argument
91 /* Get the thread's parameters */ in check_param()
92 ret = pthread_getschedparam(thread, &t_pol, &t_parm); in check_param()
95 UNRESOLVED(ret, "Failed to get thread' in check_param()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_rwlock_rdlock_sup.c51 pthread_t thread; in pthread_rwlock_rdlock_0100() local
65 pthread_t thread; in pthread_rwlock_rdlock_0200() local
/third_party/rust/crates/env_logger/tests/
H A Dlog_tls_dtors.rs8 use std::thread;
19 // Use multiple thread local values to increase the chance that our TLS in run()
48 // Run on a separate thread because TLS values on the main thread in main()
50 // https://doc.rust-lang.org/std/thread/struct.LocalKey.html#platform-specific-behavior in main()
51 thread::spawn(run).join().unwrap(); in main()
/third_party/python/Python/
H A Dthread_pthread_stubs.h83 pthread_create(pthread_t *restrict thread, in pthread_create() argument
92 pthread_detach(pthread_t thread) in pthread_detach() argument
/third_party/python/Include/internal/
H A Dpycore_pystate.h14 /* Check if the current thread is the main thread.
19 unsigned long thread = PyThread_get_thread_ident(); in _Py_IsMainThread() local
20 return (thread == _PyRuntime.main_thread); in _Py_IsMainThread()
48 /* Only handle signals on the main thread of the main interpreter. */
56 /* Only execute pending calls on the main thread. */
64 /* Variable and macro for in-line access to current thread
73 /* Get the current Python thread state.
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkQueue.hpp22 #include <thread>
102 std::thread queueThread;
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceBrowserCompileServer.h24 #include <thread>
56 /// Creates the streams + context and starts the compile thread, handing off
67 /// Wait for the compile thread to complete then reset the state.
105 std::thread CompileThread;

Completed in 7 milliseconds

1...<<41424344454647484950>>...159