/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
H A D | It_posix_pthread_186.cpp | 54 pthread_t thread; in Testcase() local 84 ret = pthread_create(&thread, &attr, pthread_f01, ¶mTest); in Testcase() 87 ret = pthread_join(thread, &status); in Testcase()
|
H A D | It_posix_pthread_188.cpp | 55 pthread_t thread; in Testcase() local 86 ret = pthread_create(&thread, &attr, pthread_f01, ¶mTest); in Testcase() 89 ret = pthread_join(thread, &status); in Testcase()
|
H A D | It_posix_pthread_193.cpp | 46 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 D | clock_test_010.cpp | 94 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 D | pthread_once_test_001.cpp | 54 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()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | traps.c | 213 regs.regs[29] = task->thread.reg29; in show_stack() 215 regs.cp0_epc = task->thread.reg31; in show_stack() 392 if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, in die() 478 if (notify_die(DIE_OOPS, "bus error", regs, 0, current->thread.trap_nr, in do_be() 845 sig = fpu_emulator_cop1Handler(regs, ¤t->thread.fpu, 1, in simulate_fp() 852 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in simulate_fp() 853 current->thread.fpu.fcr31 &= ~fcr31; in simulate_fp() 874 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe() 889 * Force FPU to dump state into task/thread context. We're in do_fpe() 897 sig = fpu_emulator_cop1Handler(regs, ¤t->thread in do_fpe() [all...] |
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | traps.c | 219 regs.regs[29] = task->thread.reg29; in show_stack() 221 regs.cp0_epc = task->thread.reg31; in show_stack() 401 if (notify_die(DIE_OOPS, str, regs, 0, current->thread.trap_nr, in die() 487 if (notify_die(DIE_OOPS, "bus error", regs, 0, current->thread.trap_nr, in do_be() 852 sig = fpu_emulator_cop1Handler(regs, ¤t->thread.fpu, 1, in simulate_fp() 859 fcr31 = mask_fcr31_x(current->thread.fpu.fcr31); in simulate_fp() 860 current->thread.fpu.fcr31 &= ~fcr31; in simulate_fp() 881 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe() 896 * Force FPU to dump state into task/thread context. We're in do_fpe() 904 sig = fpu_emulator_cop1Handler(regs, ¤t->thread in do_fpe() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | stat-display.c | 705 int cpu, thread, i = 0; in sort_aggr_thread() local 713 for (thread = 0; thread < nthreads; thread++) { in sort_aggr_thread() 717 val += perf_counts(counter->counts, cpu, thread)->val; in sort_aggr_thread() 718 ena += perf_counts(counter->counts, cpu, thread)->ena; in sort_aggr_thread() 719 run += perf_counts(counter->counts, cpu, thread)->run; in sort_aggr_thread() 725 * Skip value 0 when enabling --per-thread globally, in sort_aggr_thread() 732 buf[i].id = thread; in sort_aggr_thread() 755 int thread, sorted_thread in print_aggr_thread() local [all...] |
H A D | callchain.h | 15 struct thread; 274 int arch_skip_callchain_idx(struct thread *thread, struct ip_callchain *chain); 276 static inline int arch_skip_callchain_idx(struct thread *thread __maybe_unused, in arch_skip_callchain_idx()
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/ |
H A D | trigger_detector_callback.cpp | 16 #include <thread> 40 std::thread([&]() { cb_(); }).detach(); in OnDetected()
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/stable_sample/enviroment/include/ |
H A D | heap_memory_thread.h | 24 #include <thread> 35 std::unique_ptr<std::thread> heapMemoryLoop_ = nullptr;
|
/foundation/multimodalinput/input/uinput/ |
H A D | hdf_device_event_manager.h | 20 #include <thread> 34 std::thread thread_;
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | task_queue.h | 19 #include <thread> 35 std::thread::id lockThread_;
|
H A D | task_pool_impl.cpp | 202 // Idle thread exit. in GetTask() 204 genericThread_ = std::thread::id(); in GetTask() 224 std::thread thread([this]() { in SpawnThreads() 228 thread.detach(); in SpawnThreads() 241 if (genericThread_ == std::thread::id()) { in BecomeGenericWorker() 250 LOGI("Task pool thread exit, cur:%d idle:%d, genericTaskCount:%d, queuedTaskCount:%d.", in ExitWorker() 264 // Idle thread exit. in TaskWorker()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | thread_notify.h | 29 static inline void thread_notify(unsigned long rc, struct thread_info *thread) in thread_notify() argument 32 atomic_notifier_call_chain(&thread_notify_head, rc, thread); in thread_notify() 38 * These are the reason codes for the thread notifier.
|
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | thread_notify.h | 29 static inline void thread_notify(unsigned long rc, struct thread_info *thread) in thread_notify() argument 32 atomic_notifier_call_chain(&thread_notify_head, rc, thread); in thread_notify() 38 * These are the reason codes for the thread notifier.
|
/kernel/linux/linux-5.10/include/linux/iio/ |
H A D | triggered_buffer.h | 12 irqreturn_t (*thread)(int irq, void *p), 19 irqreturn_t (*thread)(int irq, void *p),
|
/foundation/multimedia/media_foundation/src/osal/task/pthread/ |
H A D | pipeline_threadpool.cpp | 18 #include "osal/task/thread.h" 87 for (auto thread : *threadList.get()) { in FindThread() 88 if (thread->type_ == taskType) { in FindThread() 89 return thread; in FindThread() 110 for (auto thread : *threadList.get()) { in DestroyThread() 111 thread->Exit(); in DestroyThread() 147 // trigger to quit thread in current running thread, must not wait, in Exit() 148 // or else the current thread will be suspended and can not quit. in Exit() 153 // loop_ destroy will wait thread joi in Exit() [all...] |
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_store_concurrent_test.cpp | 19 #include <thread> 311 std::thread insertThread = std::thread(RdbConcurrentTest::InsertThread, 5); in HWTEST_F() 312 std::thread queryThread = std::thread(RdbConcurrentTest::QueryThread, 5); in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | acdispat.h | 175 acpi_ds_call_control_method(struct acpi_thread_state *thread, 300 *thread); 317 *thread); 321 struct acpi_thread_state *thread); 326 *thread);
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
H A D | hw_breakpoint.c | 236 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint() 259 memset(tsk->thread.ptrace_bp, 0, sizeof(tsk->thread.ptrace_bp)); in clear_ptrace_hw_breakpoint() 260 memset(tsk->thread.ptrace_wp, 0, sizeof(tsk->thread.ptrace_wp)); in clear_ptrace_hw_breakpoint()
|
/kernel/linux/linux-5.10/arch/nios2/kernel/ |
H A D | process.c | 122 p->thread.ksp = (unsigned long) childstack; in copy_thread() 123 p->thread.kregs = childregs; in copy_thread() 135 p->thread.kregs = childregs; in copy_thread() 136 p->thread.ksp = (unsigned long) childstack; in copy_thread() 230 fp = ((struct switch_stack *)p->thread.ksp)->fp; /* ;dgt2 */ in get_wchan() 244 * Do necessary setup to start up a newly executed thread.
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | traps.c | 34 address = *(unsigned long *)(current->thread.trap_tdb + 24); in get_trap_ip() 74 (void __force __user *) current->thread.per_event.address); in do_per_trap() 199 vic = (current->thread.fpu.fpc & 0xf00) >> 8; in vector_exception() 225 if (current->thread.fpu.fpc & FPC_DXC_MASK) in data_exception() 226 do_fp_trap(regs, current->thread.fpu.fpc); in data_exception()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | ringbuf.c | 87 pthread_t thread; in test_ringbuf() local 157 err = pthread_create(&thread, NULL, poll_thread, (void *)(long)10000); in test_ringbuf() 164 /* give background thread a bit of a time */ in test_ringbuf() 168 * epoll_wait() **DID NOT** unblock in background thread in test_ringbuf() 172 err = pthread_tryjoin_np(thread, (void **)&bg_ret); in test_ringbuf() 195 err = pthread_tryjoin_np(thread, (void **)&bg_ret); in test_ringbuf() 216 err = pthread_tryjoin_np(thread, (void **)&bg_ret); in test_ringbuf()
|
/kernel/linux/linux-6.6/arch/nios2/kernel/ |
H A D | process.c | 123 p->thread.ksp = (unsigned long) childstack; in copy_thread() 124 p->thread.kregs = childregs; in copy_thread() 136 p->thread.kregs = childregs; in copy_thread() 137 p->thread.ksp = (unsigned long) childstack; in copy_thread() 228 fp = ((struct switch_stack *)p->thread.ksp)->fp; /* ;dgt2 */ in __get_wchan() 242 * Do necessary setup to start up a newly executed thread.
|