/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
H A D | process_test_040.cpp | 41 bool thread = false; in GroupProcess() local
|
/third_party/ffmpeg/libavcodec/ |
H A D | dnxhdenc.h | 60 struct DNXHDEncContext *thread[MAX_THREADS]; member
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_dynamic.c | 58 usb_quirk_ioctl_w(unsigned long cmd, caddr_t data, int fflag, struct thread *td) in usb_quirk_ioctl_w()
|
/third_party/musl/src/thread/mipsn32/ |
H A D | clone.s | 6 # Save function pointer and argument pointer on new thread stack
|
/third_party/musl/src/thread/mips64/ |
H A D | clone.s | 6 # Save function pointer and argument pointer on new thread stack
|
/third_party/musl/src/thread/powerpc64/ |
H A D | clone.s | 14 # create initial stack frame for new thread
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_attr_setstack.c | 33 pthread_t thread; in pthread_attr_setstack_0100() local
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | core-error.c | 33 #include <pulsecore/thread.h> 60 /* This might not be thread safe, but we hope for the best */ in pa_cstrerror()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | GsymCreator.h | 16 #include <thread> 46 /// in GsymCreator are thread safe. This allows multiple threads to create and
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | ThreadPool.h | 9 // This file defines a crude C++11 based thread pool. 17 #include "llvm/Support/thread.h" 77 std::vector<llvm::thread> Threads; 90 /// Keep track of the number of thread actually busy 94 /// Signal for the destruction of the pool, asking thread to exit.
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceTLS.h | 14 /// This assumes std::thread is written in terms of pthread. Define 99 #define ICE_ATTRIBUTE_TLS __declspec(thread)
|
/third_party/rust/crates/rustix/tests/time/ |
H A D | monotonic.rs | 1 #[cfg(feature = "thread")] 2 use rustix::thread::nanosleep; 18 /// With the "thread" feature, we can sleep so that we're guaranteed that time 20 #[cfg(feature = "thread")] 32 /// With the "thread" feature, we can sleep so that we're guaranteed that time 34 #[cfg(feature = "thread")]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | session.c | 28 #include "thread.h" 29 #include "thread-stack.h" 934 event->stat.thread = bswap_32(event->stat.thread); in perf_event__stat_swap() 1790 struct thread *perf_session__findnew(struct perf_session *session, pid_t pid) in perf_session__findnew() 1797 * So here a single thread is created for that, but actually there is a separate 1798 * idle task per cpu, so there should be one 'struct thread' per cpu, but there 1804 struct thread *thread; in perf_session__register_idle_thread() local 1807 thread in perf_session__register_idle_thread() 1933 perf_session__flush_thread_stack(struct thread *thread, void *p __maybe_unused) perf_session__flush_thread_stack() argument [all...] |
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | btmrvl_main.c | 35 * thread. 604 struct btmrvl_thread *thread = data; in btmrvl_service_main_thread() local 605 struct btmrvl_private *priv = thread->priv; in btmrvl_service_main_thread() 614 add_wait_queue(&thread->wait_q, &wait); in btmrvl_service_main_thread() 618 BT_DBG("main_thread: break from main thread"); in btmrvl_service_main_thread() 632 remove_wait_queue(&thread->wait_q, &wait); in btmrvl_service_main_thread() 637 BT_DBG("main_thread: break from main thread"); in btmrvl_service_main_thread() 720 /* Stop the thread servicing the interrupts */ in btmrvl_register_hdev()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | reg_booke.h | 401 #define dbcr_iac_range(task) ((task)->thread.debug.dbcr0) 415 #define dbcr_dac(task) ((task)->thread.debug.dbcr1) 461 #define dbcr_dac(task) ((task)->thread.debug.dbcr0) 495 #define dbcr_iac_range(task) ((task)->thread.debug.dbcr1) 685 #define TMRN_TMCFG0_NPRIBITS 0x003f0000 /* Bits of thread priority */
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | reg_booke.h | 389 #define dbcr_iac_range(task) ((task)->thread.debug.dbcr0) 403 #define dbcr_dac(task) ((task)->thread.debug.dbcr1) 449 #define dbcr_dac(task) ((task)->thread.debug.dbcr0) 483 #define dbcr_iac_range(task) ((task)->thread.debug.dbcr1) 673 #define TMRN_TMCFG0_NPRIBITS 0x003f0000 /* Bits of thread priority */
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | btmrvl_main.c | 22 * thread. 591 struct btmrvl_thread *thread = data; in btmrvl_service_main_thread() local 592 struct btmrvl_private *priv = thread->priv; in btmrvl_service_main_thread() 601 add_wait_queue(&thread->wait_q, &wait); in btmrvl_service_main_thread() 605 BT_DBG("main_thread: break from main thread"); in btmrvl_service_main_thread() 619 remove_wait_queue(&thread->wait_q, &wait); in btmrvl_service_main_thread() 624 BT_DBG("main_thread: break from main thread"); in btmrvl_service_main_thread() 707 /* Stop the thread servicing the interrupts */ in btmrvl_register_hdev()
|
/kernel/linux/linux-6.6/drivers/iio/ |
H A D | industrialio-trigger.c | 230 * This function should only be called from a kernel thread context. 307 ret = request_threaded_irq(pf->irq, pf->h, pf->thread, in iio_trigger_attach_poll_func() 372 irqreturn_t (*thread)(int irq, void *p), in iio_alloc_pollfunc() 392 pf->thread = thread; in iio_alloc_pollfunc()
|
/third_party/curl/tests/server/ |
H A D | util.c | 111 now = localtime(&sec); /* not thread safe but we don't care */ in logmsg() 544 * interrupt occurs, Win32 operating systems generate a new thread 545 * to specifically handle that interrupt. This can cause a single-thread 581 * Therefore we create and run a hidden Window in a separate thread 695 curl_win_thread_handle_t thread; in install_signal_handlers() local 745 thread = CreateThread(NULL, 0, &main_window_loop, in install_signal_handlers() 748 thread = _beginthreadex(NULL, 0, &main_window_loop, in install_signal_handlers() 751 thread_main_window = (HANDLE)thread; in install_signal_handlers()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/ |
H A D | RBBITest.java | 390 final AssertionError[] assertErr = new AssertionError[1]; // saves an error found from within a thread in TestBug12873() 416 for (Thread thread: threads) { in TestBug12873() 417 thread.start(); in TestBug12873() 419 for (Thread thread: threads) { in TestBug12873() 421 thread.join(); in TestBug12873()
|
/third_party/openssl/test/ |
H A D | drbgtest.c | 718 * thread explicitly, or so says OPENSSL_thread_stop(3) in thread_run() 730 static int wait_for_thread(thread_t thread) in wait_for_thread() argument 732 return WaitForSingleObject(thread, INFINITE) == 0; in wait_for_thread() 744 * thread explicitly, or so says OPENSSL_thread_stop(3) in thread_run() 755 static int wait_for_thread(thread_t thread) in wait_for_thread() argument 757 return pthread_join(thread, NULL) == 0; in wait_for_thread() 763 * The main thread will also run the test, so we'll have THREADS+1 parallel
|
/kernel/linux/linux-5.10/kernel/ |
H A D | exit.c | 207 * Do this under ->siglock, we can race with another thread in __exit_signal() 257 * If we are the last non-leader member of the thread in release_task() 266 * If we were the last child thread and the leader has in release_task() 501 * and clearing tsk->mm. The core-inducing thread in exit_mm() 502 * will increment ->nr_threads for each thread in the in exit_mm() 591 * 1. give them to another thread in our thread group, if such a member exists 599 struct task_struct *thread, *reaper; in find_new_reaper() local 601 thread = find_alive_thread(father); in find_new_reaper() 602 if (thread) in find_new_reaper() [all...] |
/third_party/googletest/googletest/test/ |
H A D | googletest-port-test.cc | 43 #include <thread> // NOLINT 299 // We can't guarantee that no other thread was created or destroyed between in TEST() 325 // arbitrary other thread was created or destroyed in the meantime. in TEST() 328 // The OS may not immediately report the updated thread count after in TEST() 329 // joining a thread, causing flakiness in this test. To counter that, we in TEST() 342 // Retry if an arbitrary other thread was created or destroyed. in TEST() 1018 ThreadWithParam<int*> thread(&AddTwo, &i, nullptr); in TEST() 1019 thread.Join(); in TEST() 1032 "thread .*hold"); in TEST() 1092 // Tests that the mutex only lets one thread a [all...] |
/third_party/python/Modules/ |
H A D | _threadmodule.c | 3 /* Interface to Sjoerd's portable C thread library */ 194 locked (even by the same thread), waiting for another thread to release\n\ 218 Release the lock, allowing another thread that is blocked waiting for\n\ 220 but it needn't be locked by the same thread that unlocks it."); 289 A lock is not owned by the thread that locked it; another thread may\n\ 290 unlock it. A thread attempting to lock a lock that it has already locked\n\ 291 will block until another thread unlocks it. Deadlocks may ensue."); 393 and another thread hold 1410 thread_excepthook_file(PyObject *file, PyObject *exc_type, PyObject *exc_value, PyObject *exc_traceback, PyObject *thread) thread_excepthook_file() argument 1511 PyObject *thread = PyStructSequence_GET_ITEM(args, 3); thread_excepthook() local [all...] |
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | traps.c | 247 unsigned long esr = tsk->thread.fault_code; in arm64_show_signal() 296 current->thread.fault_address = 0; in arm64_notify_die() 297 current->thread.fault_code = err; in arm64_notify_die() 912 current->thread.fault_address = 0; in bad_el0_sync() 913 current->thread.fault_code = esr; in bad_el0_sync() 1037 /* If thread survives, skip over the BUG instruction and continue: */ in bug_handler() 1128 /* If thread survives, skip over the brk instruction and continue: */ in kasan_handler()
|