Home
last modified time | relevance | path

Searched refs:thread (Results 426 - 450 of 809) sorted by relevance

1...<<11121314151617181920>>...33

/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A DMultiThreadSteps.h12 #include <thread>
21 // - Finish This value indicates that one thread has finished its last step and is cleaning up.
22 // The other thread waits for this before it does its last step and cleans up.
23 // - Abort This value indicates that one thread encountered a GL error and has exited. This
24 // will cause the other thread (that is waiting for a different step) to also abort.
26 // This class is RAII. It is declared at the top of a thread, and will be deconstructed at the end
27 // of the thread's outer block. If the thread encounters a GL error, the deconstructor will abort
28 // the other thread using the E:Abort step.
40 // If the other thread is in ~ThreadSynchronization()
[all...]
/third_party/rust/crates/rustix/src/backend/linux_raw/
H A Dmod.rs50 #[cfg(feature = "thread")]
51 pub(crate) mod thread;
/third_party/node/deps/uv/src/win/
H A Dpipe.c597 /* Try to avoid flushing the pipe buffer in the thread pool. */ in uv__pipe_shutdown()
618 /* Run FlushFileBuffers in the thread pool. */ in uv__pipe_shutdown()
922 /* Cancel synchronous read (which is happening in the thread pool). */ in uv__pipe_interrupt_read()
923 HANDLE thread; in uv__pipe_interrupt_read() local
928 thread = *thread_ptr; in uv__pipe_interrupt_read()
929 if (thread == NULL) { in uv__pipe_interrupt_read()
930 /* The thread pool thread has not yet reached the point of blocking, we in uv__pipe_interrupt_read()
935 /* Spin until the thread has acknowledged (by setting the thread t in uv__pipe_interrupt_read()
1153 HANDLE thread; uv_pipe_zero_readfile_thread_proc() local
[all...]
/third_party/curl/tests/server/
H A Dutil.c111 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 DRBBITest.java390 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 Ddrbgtest.c718 * 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
/third_party/googletest/googletest/test/
H A Dgoogletest-port-test.cc43 #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.c3 /* 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...]
/device/board/hisilicon/hispark_taurus/camera/driver_adapter/include/
H A Dmpi_adapter.h21 #include <thread>
/third_party/ffmpeg/libavcodec/
H A Ddnxhdenc.h60 struct DNXHDEncContext *thread[MAX_THREADS]; member
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_dynamic.c58 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 Dclone.s6 # Save function pointer and argument pointer on new thread stack
/third_party/musl/src/thread/mips64/
H A Dclone.s6 # Save function pointer and argument pointer on new thread stack
/third_party/musl/src/thread/powerpc64/
H A Dclone.s14 # create initial stack frame for new thread
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_attr_setstack.c33 pthread_t thread; in pthread_attr_setstack_0100() local
/third_party/pulseaudio/src/pulsecore/
H A Dcore-error.c33 #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 DGsymCreator.h16 #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 DThreadPool.h9 // 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 DIceTLS.h14 /// 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 Dmonotonic.rs1 #[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")]
/third_party/lzma/C/
H A DMtDec.c1 /* MtDec.c -- Multi-thread Decoder
119 if (Thread_WasCreated(&t->thread)) in MtDecThread_CreateAndStart()
121 wres = Thread_Create(&t->thread, MtDec_ThreadFunc, t); in MtDecThread_CreateAndStart()
148 if (Thread_WasCreated(&t->thread)) in MtDecThread_CloseThread()
152 Thread_Wait_Close(&t->thread); in MtDecThread_CloseThread()
439 // we don't need to parse in current thread anymore in MtDec_ThreadFunc2()
541 // if (codeRes == SZ_ERROR_MEM) - we will try single-thread decoding later. in MtDec_ThreadFunc2()
542 // if (codeRes != SZ_ERROR_MEM) - we can stop decoding or try single-thread decoding. in MtDec_ThreadFunc2()
567 // if only one thread is possible, we leave muti-threading code in MtDec_ThreadFunc2()
582 // We have started executing for new iteration (with next thread) in MtDec_ThreadFunc2()
[all...]
/third_party/node/deps/v8/src/base/platform/
H A Dplatform-posix.cc96 // 0 is never a valid thread id.
994 // POSIX thread support.
1001 // Synchronizes thread creation
1047 Thread* thread = reinterpret_cast<Thread*>(arg); in ThreadEntry() local
1049 // we don't know which thread will run first (the original thread or the new in ThreadEntry()
1051 { MutexGuard lock_guard(&thread->data()->thread_creation_mutex_); } in ThreadEntry()
1052 SetThreadName(thread->name()); in ThreadEntry()
1053 DCHECK_NE(thread->data()->thread_, kNoThread); in ThreadEntry()
1054 thread in ThreadEntry()
[all...]
/third_party/rust/crates/libc/src/unix/haiku/
H A Dnative.rs261 pub thread: thread_id,
958 pub fn kill_thread(thread: thread_id) -> status_t; in kill_thread()
959 pub fn resume_thread(thread: thread_id) -> status_t; in resume_thread()
960 pub fn suspend_thread(thread: thread_id) -> status_t; in suspend_thread()
962 pub fn rename_thread(thread: thread_id, newName: *const ::c_char) -> status_t; in rename_thread()
963 pub fn set_thread_priority(thread: thread_id, newPriority: i32) -> status_t; in set_thread_priority()
972 pub fn wait_for_thread(thread: thread_id, returnValue: *mut status_t) -> status_t; in wait_for_thread()
981 thread: thread_id, in send_data()
988 pub fn has_data(thread: thread_id) -> bool; in has_data()
1002 pub fn get_pthread_thread_id(thread
[all...]
/third_party/musl/Benchmark/musl/
H A Dsocket_test.cpp396 pthread_t thread; in StartServer() local
398 pthread_create(&thread, nullptr, ThreadTaskClient, nullptr); in StartServer()
399 pthread_join(thread, &res); in StartServer()
/third_party/python/Lib/multiprocessing/
H A Dqueues.py32 # Queue type using a pipe, buffer and thread
164 # Start thread which transfers data from buffer to pipe
187 # Send sentinel to the thread queue object when garbage collected
196 debug('joining queue thread')
197 thread = twr()
198 if thread is not None:
199 thread.join()
200 debug('... queue thread joined')
202 debug('... queue thread already dead')
206 debug('telling queue thread t
[all...]

Completed in 19 milliseconds

1...<<11121314151617181920>>...33