Home
last modified time | relevance | path

Searched full:thread (Results 1 – 25 of 12962) sorted by relevance

12345678910>>...519

/external/angle/src/libGLESv2/
Degl_context_lock_autogen.h20 ScopedContextMutexLock GetContextLock_ChooseConfig(Thread *thread, egl::Display *dpyPacked);
21 ScopedContextMutexLock GetContextLock_CopyBuffers(Thread *thread, egl::Display *dpyPacked);
22 ScopedContextMutexLock GetContextLock_CreateContext(Thread *thread,
25 ScopedContextMutexLock GetContextLock_CreatePbufferSurface(Thread *thread, egl::Display *dpyPacked);
26 ScopedContextMutexLock GetContextLock_CreatePixmapSurface(Thread *thread, egl::Display *dpyPacked);
27 ScopedContextMutexLock GetContextLock_CreateWindowSurface(Thread *thread, egl::Display *dpyPacked);
28 ScopedContextMutexLock GetContextLock_DestroyContext(Thread *thread,
31 ScopedContextMutexLock GetContextLock_DestroySurface(Thread *thread, egl::Display *dpyPacked);
32 ScopedContextMutexLock GetContextLock_GetConfigAttrib(Thread *thread,
35 ScopedContextMutexLock GetContextLock_GetConfigs(Thread *thread, egl::Display *dpyPacked);
[all …]
Degl_context_lock_impl.h17 ANGLE_INLINE ScopedContextMutexLock GetContextLock_ChooseConfig(Thread *thread, in GetContextLock_ChooseConfig() argument
23 ANGLE_INLINE ScopedContextMutexLock GetContextLock_CopyBuffers(Thread *thread, in GetContextLock_CopyBuffers() argument
29 ANGLE_INLINE ScopedContextMutexLock GetContextLock_CreateContext(Thread *thread, in GetContextLock_CreateContext() argument
36 ANGLE_INLINE ScopedContextMutexLock GetContextLock_CreatePbufferSurface(Thread *thread, in GetContextLock_CreatePbufferSurface() argument
42 ANGLE_INLINE ScopedContextMutexLock GetContextLock_CreatePixmapSurface(Thread *thread, in GetContextLock_CreatePixmapSurface() argument
48 ANGLE_INLINE ScopedContextMutexLock GetContextLock_CreateWindowSurface(Thread *thread, in GetContextLock_CreateWindowSurface() argument
54 ANGLE_INLINE ScopedContextMutexLock GetContextLock_DestroyContext(Thread *thread, in GetContextLock_DestroyContext() argument
62 ANGLE_INLINE ScopedContextMutexLock GetContextLock_DestroySurface(Thread *thread, in GetContextLock_DestroySurface() argument
68 ANGLE_INLINE ScopedContextMutexLock GetContextLock_GetConfigAttrib(Thread *thread, in GetContextLock_GetConfigAttrib() argument
75 ANGLE_INLINE ScopedContextMutexLock GetContextLock_GetConfigs(Thread *thread, in GetContextLock_GetConfigs() argument
[all …]
Degl_ext_stubs_autogen.h33 class Thread; variable
36 EGLint ClientWaitSyncKHR(Thread *thread,
41 EGLImageKHR CreateImageKHR(Thread *thread,
47 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread,
49 EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread,
54 EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread,
59 EGLStreamKHR CreateStreamKHR(Thread *thread,
62 EGLSyncKHR CreateSyncKHR(Thread *thread,
66 EGLint DebugMessageControlKHR(Thread *thread,
69 EGLBoolean DestroyImageKHR(Thread *thread, egl::Display *dpyPacked, ImageID imagePacked);
[all …]
Degl_ext_stubs.cpp15 #include "libANGLE/Thread.h"
25 EGLint ClientWaitSyncKHR(Thread *thread, in ClientWaitSyncKHR() argument
31 ANGLE_EGL_TRY_PREPARE_FOR_CALL_RETURN(thread, display->prepareForCall(), "eglClientWaitSyncKHR", in ClientWaitSyncKHR()
33 gl::Context *currentContext = thread->getContext(); in ClientWaitSyncKHR()
36 ANGLE_EGL_TRY_RETURN(thread, in ClientWaitSyncKHR()
43 auto handleErrorStatus = [thread, display, syncID](void *result) { in ClientWaitSyncKHR()
48 thread->setError(egl::Error(EGL_BAD_ALLOC), "eglClientWaitSyncKHR", in ClientWaitSyncKHR()
53 thread->setSuccess(); in ClientWaitSyncKHR()
60 thread->setSuccess(); in ClientWaitSyncKHR()
65 EGLImageKHR CreateImageKHR(Thread *thread, in CreateImageKHR() argument
[all …]
Degl_stubs_autogen.h33 class Thread; variable
36 EGLBoolean BindAPI(Thread *thread, EGLenum api);
37 EGLBoolean BindTexImage(Thread *thread,
41 EGLBoolean ChooseConfig(Thread *thread,
47 EGLint ClientWaitSync(Thread *thread,
52 EGLBoolean CopyBuffers(Thread *thread,
56 EGLContext CreateContext(Thread *thread,
61 EGLImage CreateImage(Thread *thread,
67 EGLSurface CreatePbufferFromClientBuffer(Thread *thread,
73 EGLSurface CreatePbufferSurface(Thread *thread,
[all …]
Degl_stubs.cpp16 #include "libANGLE/Thread.h"
50 EGLBoolean BindAPI(Thread *thread, EGLenum api) in BindAPI() argument
52 thread->setAPI(api); in BindAPI()
54 thread->setSuccess(); in BindAPI()
58 EGLBoolean BindTexImage(Thread *thread, Display *display, egl::SurfaceID surfaceID, EGLint buffer) in BindTexImage() argument
62 ANGLE_EGL_TRY_PREPARE_FOR_CALL_RETURN(thread, display->prepareForCall(), "eglBindTexImage", in BindTexImage()
65 gl::Context *context = thread->getContext(); in BindTexImage()
71 ANGLE_EGL_TRY_RETURN(thread, eglSurface->bindTexImage(context, textureObject, buffer), in BindTexImage()
75 thread->setSuccess(); in BindTexImage()
79 EGLBoolean ChooseConfig(Thread *thread, in ChooseConfig() argument
[all …]
Dentry_points_egl_ext_autogen.cpp30 Thread *thread = egl::GetCurrentThread(); in EGL_SetBlobCacheFuncsANDROID() local
40 ANGLE_EGL_SCOPED_CONTEXT_LOCK(SetBlobCacheFuncsANDROID, thread, dpyPacked); in EGL_SetBlobCacheFuncsANDROID()
43 ANGLE_EGL_VALIDATE_VOID(thread, SetBlobCacheFuncsANDROID, in EGL_SetBlobCacheFuncsANDROID()
50 SetBlobCacheFuncsANDROID(thread, dpyPacked, set, get); in EGL_SetBlobCacheFuncsANDROID()
53 ANGLE_CAPTURE_EGL(SetBlobCacheFuncsANDROID, true, thread, dpyPacked, set, get); in EGL_SetBlobCacheFuncsANDROID()
62 Thread *thread = egl::GetCurrentThread(); in EGL_CreateNativeClientBufferANDROID() local
72 ANGLE_EGL_SCOPED_CONTEXT_LOCK(CreateNativeClientBufferANDROID, thread); in EGL_CreateNativeClientBufferANDROID()
75 ANGLE_EGL_VALIDATE(thread, CreateNativeClientBufferANDROID, nullptr, in EGL_CreateNativeClientBufferANDROID()
83 returnValue = CreateNativeClientBufferANDROID(thread, attrib_listPacked); in EGL_CreateNativeClientBufferANDROID()
86 ANGLE_CAPTURE_EGL(CreateNativeClientBufferANDROID, true, thread, attrib_listPacked, in EGL_CreateNativeClientBufferANDROID()
[all …]
Dentry_points_egl_autogen.cpp34 Thread *thread = egl::GetCurrentThread(); in EGL_ChooseConfig() local
48 ANGLE_EGL_SCOPED_CONTEXT_LOCK(ChooseConfig, thread, dpyPacked); in EGL_ChooseConfig()
51 ANGLE_EGL_VALIDATE(thread, ChooseConfig, GetDisplayIfValid(dpyPacked), EGLBoolean, in EGL_ChooseConfig()
59 returnValue = ChooseConfig(thread, dpyPacked, attrib_listPacked, configs, config_size, in EGL_ChooseConfig()
63 ANGLE_CAPTURE_EGL(ChooseConfig, true, thread, dpyPacked, attrib_listPacked, configs, in EGL_ChooseConfig()
75 Thread *thread = egl::GetCurrentThread(); in EGL_CopyBuffers() local
88 ANGLE_EGL_SCOPED_CONTEXT_LOCK(CopyBuffers, thread, dpyPacked); in EGL_CopyBuffers()
91 ANGLE_EGL_VALIDATE(thread, CopyBuffers, GetDisplayIfValid(dpyPacked), EGLBoolean, in EGL_CopyBuffers()
98 returnValue = CopyBuffers(thread, dpyPacked, surfacePacked, target); in EGL_CopyBuffers()
101 ANGLE_CAPTURE_EGL(CopyBuffers, true, thread, dpyPacked, surfacePacked, target, returnValue); in EGL_CopyBuffers()
[all …]
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DThreadUtils.java31 * Helpers for {@code java.lang.Thread} and {@code java.lang.ThreadGroup}.
37 * @see Thread
55 public boolean test(final Thread thread) { in test() argument
68 * A predicate implementation which matches a thread or thread group name.
81 * @param name thread or thread group name
90 public boolean test(final Thread thread) { in test() argument
91 return thread != null && thread.getName().equals(name); in test()
101 * A predicate for selecting thread groups.
111 * Evaluates this predicate on the given thread group.
112 * @param threadGroup the thread group
[all …]
/external/angle/src/libANGLE/capture/
Dcapture_egl_autogen.h22 angle::CallCapture CaptureChooseConfig(egl::Thread *thread,
30 angle::CallCapture CaptureCopyBuffers(egl::Thread *thread,
36 angle::CallCapture CaptureCreateContext(egl::Thread *thread,
43 angle::CallCapture CaptureCreatePbufferSurface(egl::Thread *thread,
49 angle::CallCapture CaptureCreatePixmapSurface(egl::Thread *thread,
56 angle::CallCapture CaptureCreateWindowSurface(egl::Thread *thread,
63 angle::CallCapture CaptureDestroyContext(egl::Thread *thread,
68 angle::CallCapture CaptureDestroySurface(egl::Thread *thread,
73 angle::CallCapture CaptureGetConfigAttrib(egl::Thread *thread,
80 angle::CallCapture CaptureGetConfigs(egl::Thread *thread,
[all …]
/external/sdv/vsomeip/third_party/boost/thread/test/
DJamfile.v2113 rule thread-run ( sources )
124 rule thread-test ( sources )
139 rule thread-run2 ( sources : name )
151 rule thread-run2-noit ( sources : name : reqs * )
166 rule thread-run2-noit-pthread ( sources : name )
181 rule thread-run2-h ( sources : name )
193 rule thread-run-lib2 ( sources : name )
204 rule thread-compile-fail ( sources : reqs * : name )
213 rule clang-thread-safety ( properties * )
217 return <cxxflags>-Werror=thread-safety <define>BOOST_THREAD_ENABLE_THREAD_SAFETY_ANALYSIS ;
[all …]
/external/rust/crates/thread_local/src/
Dthread_id.rs16 /// Thread ID manager which allocates thread IDs. It attempts to aggressively
17 /// reuse thread IDs where possible to avoid cases where a ThreadLocal grows
38 .expect("Ran out of thread IDs"); in alloc()
49 /// Data which is unique to the current thread while it is running.
50 /// A thread ID may be reused after a thread exits.
52 pub(crate) struct Thread { struct
53 /// The thread ID obtained from the thread ID manager.
55 /// The bucket this thread's local storage will be in.
57 /// The size of the bucket this thread's local storage will be in.
59 /// The index into the bucket this thread's local storage is in.
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/
Dthread.h1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===//
9 // This header is a wrapper for <thread> that works around problems with the
10 // MSVC headers when exceptions are disabled. It also provides llvm::thread,
11 // which is either a typedef of std::thread or a replacement that calls the
30 #include <thread>
36 /// LLVM thread following std::thread interface with added constructor to
38 class thread {
72 thread() : Thread(native_handle_type()) {} in thread() function
73 thread(thread &&Other) noexcept in thread() function
74 : Thread(std::exchange(Other.Thread, native_handle_type())) {} in thread()
[all …]
/external/sdv/vsomeip/third_party/boost/thread/doc/
Dthread.qbk9 [library Thread
24 [template lockable_concept_link[link_text] [link thread.synchronization.mutex_concepts.lockable [li…
27 [def __BasicLockable [link thread.synchronization.mutex_concepts.basic_lockable `BasicLockable`]]
28 [def __Lockable [link thread.synchronization.mutex_concepts.lockable `Lockable`]]
29 [def __TimedLockable [link thread.synchronization.mutex_concepts.timed_lockable `TimedLockable`]]
30 [def __SharedLockable [link thread.synchronization.mutex_concepts.shared_lockable `SharedLockable`]]
31 [def __UpgradeLockable [link thread.synchronization.mutex_concepts.upgrade_lockable `UpgradeLockabl…
33 [template timed_lockable_concept_link[link_text] [link thread.synchronization.mutex_concepts.timed_…
37 [template shared_lockable_concept_link[link_text] [link thread.synchronization.mutex_concepts.share…
41 [template upgrade_lockable_concept_link[link_text] [link thread.synchronization.mutex_concepts.upgr…
[all …]
Dthread_ref.qbk9 [section:thread_management Thread Management]
13 #include <boost/thread/thread.hpp>
17 class thread;
18 void swap(thread& lhs,thread& rhs) noexcept;
22 thread::id get_id() noexcept;
59 …for launching and managing threads. Each __thread__ object represents a single thread of execution,
60 or __not_a_thread__, and at most one __thread__ object represents a given thread of execution: obje…
64 allows the details of thread creation to be wrapped in a function.
66 boost::thread make_thread();
70 boost::thread some_thread=make_thread();
[all …]
Dscoped_thread.qbk13 //#include <boost/thread/scoped_thread.hpp>
18 template <class CallableThread = join_if_joinable, class Thread = thread>
20 template <class CallableThread = join_if_joinable, class Thread = thread>
22 template <class CallableThread, class Thread = thread>
23 void swap(scoped_thread<Callable, Thread>& lhs, scoped_threadCallable, Thread>& rhs) noexcept;
26 …n C++ Concurrency in Action Boost.Thread defines a thread wrapper class that instead of calling te…
28 …scoped_thread class that doesn't allows any change in the wrapped thread, Boost.Thread provides a …
34thread that allows the user to state what to do at destruction time. One of the common uses is to …
36 …trict_scoped_thread hides completely the owned thread and so the user can do nothing with the owne…
38 boost::strict_scoped_thread<> t1((boost::thread(f)));
[all …]
/external/mockito/src/main/java/org/mockito/internal/util/concurrent/
DDetachedThreadLocal.java9 …* A detached local that allows for explicit control of setting and removing values from a thread-l…
12 * Instances of this class are non-blocking and fully thread safe.
16 final WeakConcurrentMap<Thread, T> map;
20 case THREAD: in DetachedThreadLocal()
22 map = new WeakConcurrentMap<Thread, T>(cleaner == Cleaner.THREAD) { in DetachedThreadLocal()
24 protected T defaultValue(Thread key) { in DetachedThreadLocal()
30 map = new WeakConcurrentMap.WithInlinedExpunction<Thread, T>() { in DetachedThreadLocal()
32 protected T defaultValue(Thread key) { in DetachedThreadLocal()
43 return map.get(Thread.currentThread()); in get()
47 map.put(Thread.currentThread(), value); in set()
[all …]
/external/pigweed/pw_thread/
Ddocs.rst6 The ``pw_thread`` module contains utilities for thread creation and thread
13 Thread Sleeping
19 Blocks the execution of the current thread for at least the specified
27 **Precondition:** This can only be called from a thread, meaning the
32 Blocks the execution of the current thread until at least the specified
40 **Precondition:** This can only be called from a thread, meaning the
74 Thread Yielding
87 **Precondition:** This can only be called from a thread, meaning the
107 Thread Identification
109 The class ``pw::thread::Id`` is a lightweight, trivially copyable class that
[all …]
Dthread_facade_test.cc18 #include "pw_thread/thread.h"
24 using ::pw::thread::Id;
25 using ::pw::thread::Thread;
26 using ::pw::thread::ThreadCore;
27 using ::pw::thread::test::TestOptionsThread0;
28 using ::pw::thread::test::TestOptionsThread1;
29 using ::pw::thread::test::WaitUntilDetachedThreadsCleanedUp;
31 TEST(Thread, DefaultIds) { in TEST() argument
32 Thread not_executing_thread; in TEST()
37 TEST(Thread, DefaultConstructedThreadIsNotJoinable) { in TEST() argument
[all …]
/external/pigweed/pw_thread/public/pw_thread/
Dthread.h27 namespace pw::thread {
29 /// The Options contains the parameters needed for a thread to start.
35 /// but may contain things like the thread name, priority, scheduling policy,
37 /// Context (the collection of memory allocations needed for a thread to run).
40 /// joinable. All `pw::thread::Thread` instances must be explicitly `join()`'d
41 /// or `detach()`'d through the run-time Thread API.
48 /// Options must not contain any memory needed for a thread to run (TCB,
50 /// starting a thread.
54 // instance in C++17 with `pw::thread::Options{}` syntax.
58 /// The class Thread can represent a single thread of execution. Threads allow
[all …]
/external/oj-libjdwp/src/share/back/
DthreadControl.c52 * This is a per-thread structure that is allocated on the
53 * first event that occurs in a thread. It is freed after the
54 * thread's thread end event has completed processing. The
55 * structure contains state information on its thread including
57 * per-thread state such as the current method invocation or
65 jthread thread; member
77 jint resumeFrameDepth; /* !=0 => This thread is in a call to Thread.resume() */
86 struct ThreadList *list; /* Tells us what list this thread is in */
101 * popFrameProceedLock is used to assure that the event thread is
112 static jvmtiError threadControl_removeDebugThread(jthread thread);
[all …]
/external/webrtc/rtc_base/
Dthread.cc11 #include "rtc_base/thread.h"
116 void ThreadManager::Add(Thread* message_queue) { in Add()
119 void ThreadManager::AddInternal(Thread* message_queue) { in AddInternal()
127 void ThreadManager::Remove(Thread* message_queue) { in Remove()
130 void ThreadManager::RemoveInternal(Thread* message_queue) { in RemoveInternal()
135 std::vector<Thread*>::iterator iter; in RemoveInternal()
147 void ThreadManager::RemoveFromSendGraph(Thread* thread) { in RemoveFromSendGraph() argument
149 if (it->first == thread) { in RemoveFromSendGraph()
152 it->second.erase(thread); in RemoveFromSendGraph()
158 void ThreadManager::RegisterSendAndCheckForCycles(Thread* source, in RegisterSendAndCheckForCycles()
[all …]
/external/trusty/lk/app/pincputest/
Dpincputest.c29 #include <kernel/thread.h>
39 * Test verifying cpu pinning on any thread state
41 * a running, ready, blocked or sleeping thread.
45 * struct pincputest_thread_ctx_main - main thread context structure
47 * @thread: `main` thread's thread structure
48 * @ev_req: Request event sent by the unittest thread to
49 * the main thread in order to start a new test
50 * @ev_resp: Response event sent by the main thread to
51 * the unittest thread when the test case is
53 * @runningstate_lock: Spin_lock used to ensure the unittest thread
[all …]
/external/pigweed/pw_thread_threadx/
Ddocs.rst12 Thread Creation Backend
14 A backend for ``pw::thread::Thread`` is offered using ``tx_thread_create``.
16 thread's context.
19 allocated and passed in as an option. As a quick example, a detached thread can
31 pw::thread::threadx::config::kDefaultPriority;
33 pw::thread::threadx::config::kDefaultTimeSliceInterval;
35 pw::thread::threadx::config::kDefaultStackSizeWords;
37 pw::thread::threadx::ContextWithStack<kFooStackSizeWords>
40 pw::thread::DetachedThread(
41 pw::thread::threadx::Options()
[all …]
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DThreadFactoryBuilderTest.java23 import java.lang.Thread.UncaughtExceptionHandler;
47 public void uncaughtException(Thread t, Throwable e) {
62 Thread thread = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults() local
63 checkThreadPoolName(thread, 1); in testThreadFactoryBuilder_defaults()
65 Thread defaultThread = Executors.defaultThreadFactory().newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
66 assertEquals(defaultThread.isDaemon(), thread.isDaemon()); in testThreadFactoryBuilder_defaults()
67 assertEquals(defaultThread.getPriority(), thread.getPriority()); in testThreadFactoryBuilder_defaults()
68 assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup()); in testThreadFactoryBuilder_defaults()
69 assertSame(defaultThread.getUncaughtExceptionHandler(), thread.getUncaughtExceptionHandler()); in testThreadFactoryBuilder_defaults()
72 thread.start(); in testThreadFactoryBuilder_defaults()
[all …]

12345678910>>...519