Home
last modified time | relevance | path

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

12345678910>>...215

/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Degl_ext_stubs.cpp15 #include "libANGLE/Thread.h"
22 EGLint ClientWaitSyncKHR(Thread *thread, in ClientWaitSyncKHR() argument
28 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglClientWaitSync", in ClientWaitSyncKHR()
30 gl::Context *currentContext = thread->getContext(); in ClientWaitSyncKHR()
33 thread, syncObject->clientWait(display, currentContext, flags, timeout, &syncStatus), in ClientWaitSyncKHR()
36 thread->setSuccess(); in ClientWaitSyncKHR()
40 EGLImageKHR CreateImageKHR(Thread *thread, in CreateImageKHR() argument
47 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateImageKHR", in CreateImageKHR()
50 ANGLE_EGL_TRY_RETURN(thread, display->createImage(context, target, buffer, attributes, &image), in CreateImageKHR()
53 thread->setSuccess(); in CreateImageKHR()
[all …]
Degl_ext_stubs_autogen.h32 class Thread; variable
35 EGLint ClientWaitSyncKHR(Thread *thread,
40 EGLImageKHR CreateImageKHR(Thread *thread,
46 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread,
48 EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread,
53 EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread,
58 EGLStreamKHR CreateStreamKHR(Thread *thread,
61 EGLSyncKHR CreateSyncKHR(Thread *thread,
65 EGLint DebugMessageControlKHR(Thread *thread,
68 EGLBoolean DestroyImageKHR(Thread *thread, egl::Display *dpyPacked, Image *imagePacked);
[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, Surface *eglSurface, EGLint buffer) in BindTexImage() argument
60 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglBindTexImage", in BindTexImage()
63 gl::Context *context = thread->getContext(); in BindTexImage()
69 ANGLE_EGL_TRY_RETURN(thread, eglSurface->bindTexImage(context, textureObject, buffer), in BindTexImage()
73 thread->setSuccess(); in BindTexImage()
77 EGLBoolean ChooseConfig(Thread *thread, in ChooseConfig() argument
[all …]
Degl_stubs_autogen.h32 class Thread; variable
35 EGLBoolean BindAPI(Thread *thread, EGLenum api);
36 EGLBoolean BindTexImage(Thread *thread,
40 EGLBoolean ChooseConfig(Thread *thread,
46 EGLint ClientWaitSync(Thread *thread,
51 EGLBoolean CopyBuffers(Thread *thread,
55 EGLContext CreateContext(Thread *thread,
60 EGLImage CreateImage(Thread *thread,
66 EGLSurface CreatePbufferFromClientBuffer(Thread *thread,
72 EGLSurface CreatePbufferSurface(Thread *thread,
[all …]
Dentry_points_egl_autogen.cpp36 Thread *thread = egl::GetCurrentThread(); in EGL_ChooseConfig() local
41 ANGLE_EGL_VALIDATE(thread, ChooseConfig, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, in EGL_ChooseConfig()
44 return ChooseConfig(thread, dpyPacked, attrib_listPacked, configs, config_size, num_config); in EGL_ChooseConfig()
56 Thread *thread = egl::GetCurrentThread(); in EGL_CopyBuffers() local
61 ANGLE_EGL_VALIDATE(thread, CopyBuffers, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, in EGL_CopyBuffers()
64 return CopyBuffers(thread, dpyPacked, surfacePacked, target); in EGL_CopyBuffers()
78 Thread *thread = egl::GetCurrentThread(); in EGL_CreateContext() local
85 ANGLE_EGL_VALIDATE(thread, CreateContext, GetDisplayIfValid(dpyPacked), EGLContext, dpyPacked, in EGL_CreateContext()
88 return CreateContext(thread, dpyPacked, configPacked, share_contextPacked, attrib_listPacked); in EGL_CreateContext()
101 Thread *thread = egl::GetCurrentThread(); in EGL_CreatePbufferSurface() local
[all …]
Dentry_points_egl_ext_autogen.cpp32 Thread *thread = egl::GetCurrentThread(); in EGL_SetBlobCacheFuncsANDROID() local
36 ANGLE_EGL_VALIDATE_VOID(thread, SetBlobCacheFuncsANDROID, GetDisplayIfValid(dpyPacked), in EGL_SetBlobCacheFuncsANDROID()
39 SetBlobCacheFuncsANDROID(thread, dpyPacked, set, get); in EGL_SetBlobCacheFuncsANDROID()
49 Thread *thread = egl::GetCurrentThread(); in EGL_CreateNativeClientBufferANDROID() local
53 ANGLE_EGL_VALIDATE(thread, CreateNativeClientBufferANDROID, nullptr, EGLClientBuffer, in EGL_CreateNativeClientBufferANDROID()
56 return CreateNativeClientBufferANDROID(thread, attrib_listPacked); in EGL_CreateNativeClientBufferANDROID()
69 Thread *thread = egl::GetCurrentThread(); in EGL_GetCompositorTimingSupportedANDROID() local
75 ANGLE_EGL_VALIDATE(thread, GetCompositorTimingSupportedANDROID, GetDisplayIfValid(dpyPacked), in EGL_GetCompositorTimingSupportedANDROID()
78 return GetCompositorTimingSupportedANDROID(thread, dpyPacked, surfacePacked, namePacked); in EGL_GetCompositorTimingSupportedANDROID()
94 Thread *thread = egl::GetCurrentThread(); in EGL_GetCompositorTimingANDROID() local
[all …]
/third_party/skia/tests/sksl/metal/
DOutParams.metal9 void out_half_vh(thread half& v);
10 void _skOutParamHelper0_out_half_vh(thread half& h) {
15 void out_half2_vh2(thread half2& v);
16 void _skOutParamHelper1_out_half2_vh2(thread half2& h2) {
21 void out_half3_vh3(thread half3& v);
22 void _skOutParamHelper2_out_half3_vh3(thread half3& h3) {
27 void out_half4_vh4(thread half4& v);
28 void _skOutParamHelper3_out_half4_vh4(thread half4& h4) {
33 void out_half_vh(thread half& v);
34 void _skOutParamHelper4_out_half_vh(thread half3& h3) {
[all …]
/third_party/skia/tests/sksl/shared/
DOutParams.metal14 void out_half_vh(Uniforms _uniforms, thread half& v);
15 void _skOutParamHelper0_out_half_vh(Uniforms _uniforms, thread half& h) {
20 void out_half2_vh2(Uniforms _uniforms, thread half2& v);
21 void _skOutParamHelper1_out_half2_vh2(Uniforms _uniforms, thread half2& h2) {
26 void out_half3_vh3(Uniforms _uniforms, thread half3& v);
27 void _skOutParamHelper2_out_half3_vh3(Uniforms _uniforms, thread half3& h3) {
32 void out_half4_vh4(Uniforms _uniforms, thread half4& v);
33 void _skOutParamHelper3_out_half4_vh4(Uniforms _uniforms, thread half4& h4) {
38 void out_half_vh(Uniforms _uniforms, thread half& v);
39 void _skOutParamHelper4_out_half_vh(Uniforms _uniforms, thread half3& h3) {
[all …]
DOutParamsNoInline.metal14 void out_half_vh(Uniforms _uniforms, thread half& v);
15 void _skOutParamHelper0_out_half_vh(Uniforms _uniforms, thread half& h) {
20 void out_half2_vh2(Uniforms _uniforms, thread half2& v);
21 void _skOutParamHelper1_out_half2_vh2(Uniforms _uniforms, thread half2& h2) {
26 void out_half3_vh3(Uniforms _uniforms, thread half3& v);
27 void _skOutParamHelper2_out_half3_vh3(Uniforms _uniforms, thread half3& h3) {
32 void out_half4_vh4(Uniforms _uniforms, thread half4& v);
33 void _skOutParamHelper3_out_half4_vh4(Uniforms _uniforms, thread half4& h4) {
38 void out_half_vh(Uniforms _uniforms, thread half& v);
39 void _skOutParamHelper4_out_half_vh(Uniforms _uniforms, thread half3& h3) {
[all …]
DStructsInFunctions.metal26 thread bool operator==(thread const S& left, thread const S& right);
27 thread bool operator!=(thread const S& left, thread const S& right);
29 thread bool operator==(thread const Nested& left, thread const Nested& right);
30 thread bool operator!=(thread const Nested& left, thread const Nested& right);
32 thread bool operator==(thread const Compound& left, thread const Compound& right);
33 thread bool operator!=(thread const Compound& left, thread const Compound& right);
34 void modifies_a_struct_vS(thread S& s);
35 void _skOutParamHelper0_modifies_a_struct_vS(thread S& s) {
40 void modifies_a_struct_vS(thread S& s);
41 void _skOutParamHelper1_modifies_a_struct_vS(thread Nested& n3) {
[all …]
DMatricesNonsquare.metal14 thread bool operator==(const half2x3 left, const half2x3 right);
15 thread bool operator!=(const half2x3 left, const half2x3 right);
17 thread bool operator==(const half2x4 left, const half2x4 right);
18 thread bool operator!=(const half2x4 left, const half2x4 right);
20 thread bool operator==(const half3x2 left, const half3x2 right);
21 thread bool operator!=(const half3x2 left, const half3x2 right);
23 thread bool operator==(const half3x4 left, const half3x4 right);
24 thread bool operator!=(const half3x4 left, const half3x4 right);
26 thread bool operator==(const half4x2 left, const half4x2 right);
27 thread bool operator!=(const half4x2 left, const half4x2 right);
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_shader_thread_group.txt52 to, run multiple shader threads for a single stage as a SIMD thread group,
53 where individual execution threads are assigned to thread groups in an
55 of new features to the OpenGL Shading Language to query thread states and
64 * New shader inputs to query the thread id, the warp id and the SM id.
66 * New shader inputs to query if a fragment shader thread is a helper
67 thread.
70 over all threads in a thread group.
73 a thread group.
84 language to support the thread state query and thread data sharing
87 Note that in this extension specification warp and thread group have the
[all …]
DNV_shader_thread_shuffle.txt48 to run multiple shader threads for a single stage as a SIMD thread group,
49 where individual execution threads are assigned to thread groups in an
52 multiple threads within a thread group.
60 language to support the thread data sharing functionalities.
89 (add a function to share data between threads in a thread group)
240 Shuffle functions allow active threads within a thread group to exchange
242 the operand <data> which can be different per thread and return a value
243 read from the source thread at an address computed with the <index> and
248 that specifies if the source thread from which the current thread reads
251 <width> is used for segmenting the thread group in multiple segments. The
[all …]
/third_party/openGLES/extensions/NV/
DNV_shader_thread_group.txt52 to, run multiple shader threads for a single stage as a SIMD thread group,
53 where individual execution threads are assigned to thread groups in an
55 of new features to the OpenGL Shading Language to query thread states and
64 * New shader inputs to query the thread id, the warp id and the SM id.
66 * New shader inputs to query if a fragment shader thread is a helper
67 thread.
70 over all threads in a thread group.
73 a thread group.
84 language to support the thread state query and thread data sharing
87 Note that in this extension specification warp and thread group have the
[all …]
DNV_shader_thread_shuffle.txt48 to run multiple shader threads for a single stage as a SIMD thread group,
49 where individual execution threads are assigned to thread groups in an
52 multiple threads within a thread group.
60 language to support the thread data sharing functionalities.
89 (add a function to share data between threads in a thread group)
240 Shuffle functions allow active threads within a thread group to exchange
242 the operand <data> which can be different per thread and return a value
243 read from the source thread at an address computed with the <index> and
248 that specifies if the source thread from which the current thread reads
251 <width> is used for segmenting the thread group in multiple segments. The
[all …]
/third_party/vk-gl-cts/framework/delibs/dethread/unix/
DdeThreadUnix.c2 * drawElements Thread Library
21 * \brief Unix implementation of thread management.
53 pthread_t thread; member
56 } Thread; typedef
58 DE_STATIC_ASSERT(sizeof(deThread) >= sizeof(Thread*));
62 Thread* thread = (Thread*)entryPtr; in startThread() local
63 deThreadFunc func = thread->func; in startThread()
64 void* arg = thread->arg; in startThread()
66 /* Start actual thread. */ in startThread()
75 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); in deThread_create() local
[all …]
/third_party/python/Doc/library/
Dthreading.rst1 :mod:`threading` --- Thread-based parallelism
5 :synopsis: Thread-based parallelism.
20 to push tasks to a background thread without blocking execution of the
21 calling thread, while still being able to retrieve their results when needed.
23 :mod:`queue` provides a thread-safe interface for exchanging data between
39 <global interpreter lock>`, only one thread
55 Return the number of :class:`Thread` objects currently alive. The returned
63 Return the current :class:`Thread` object, corresponding to the caller's thread
64 of control. If the caller's thread of control was not created through the
65 :mod:`threading` module, a dummy thread object with limited functionality is
[all …]
/third_party/python/Lib/
D_threading_local.py1 """Thread-local objects.
8 Thread-local objects support the management of thread-local data.
9 If you have data that you want to be local to a thread, simply create
10 a thread-local object and use its attributes:
26 What's important about thread-local objects is that their data are
27 local to a thread. If we access the data in a different thread:
37 >>> thread = threading.Thread(target=f)
38 >>> thread.start()
39 >>> thread.join()
43 we get different data. Furthermore, changes made in the other thread
[all …]
/third_party/python/Lib/test/
Dtest_threading.py31 # #12316 and #11870), and fork() from a worker thread is known to trigger
56 class TestThread(threading.Thread):
58 threading.Thread.__init__(self, name=name)
104 thread = threading.Thread(name="myname1")
105 self.assertEqual(thread.name, "myname1")
108 thread = threading.Thread(name=123)
109 self.assertEqual(thread.name, "123")
112 thread = threading.Thread(target=func, name="myname2")
113 self.assertEqual(thread.name, "myname2")
116 thread = threading.Thread(name="")
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dthread.cpp15 #include "marl/thread.h"
38 #include <thread>
43 #include <thread>
47 #include <thread>
53 inline uint64_t operator()(const marl::Thread::Core& core) const { in operator ()()
64 std::numeric_limits<decltype(Thread::Core::windows.index)>::max() + 1ULL;
66 std::numeric_limits<decltype(Thread::Core::windows.group)>::max() + 1ULL;
68 "Thread::Core::windows.index is too small");
115 // Thread::Affinty
118 Thread::Affinity::Affinity(Allocator* allocator) : cores(allocator) {} in Affinity()
[all …]
/third_party/skia/platform_tools/android/apps/skottie/
Dskottie_metric.sql21 thread.upid as process_upid
24 INNER JOIN thread ON (thread.utid = thread_track.utid)
38 INNER JOIN thread ON (thread.utid = thread_track.utid)
39 INNER JOIN test_start_ts ON (test_start_ts.process_upid = thread.upid)
52 INNER JOIN thread ON (thread.utid = thread_track.utid)
64 thread.upid as process_upid
67 INNER JOIN thread ON (thread.name='SkottieAnimator' AND thread.utid = thread_track.utid)
75 thread.upid as process_upid
77 INNER JOIN process ON (process.upid = thread.upid)
78 INNER JOIN thread ON (
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/
D1-1.c19 * 2. Main thread read lock 'rwlock'
20 * 3. Create a child thread, the thread read lock 'rwlock', should not block
21 * 4. Child thread unlock 'rwlock', while the main thread still hold the read lock.
22 * 5. Child thread read lock 'rwlock' again, should succeed, then unlock again
23 * 6. Child thread write lock 'rwlock', should block
24 * 7. Main thread unlock the read lock, the 'rwlock' is in unlocked state
25 * 8. Child thread should get the lock for writing.
36 /* thread_state indicates child thread state:
37 1: not in child thread yet;
38 2: just enter child thread ;
[all …]
/third_party/elfutils/libdwfl/
Ddwfl_frame.c50 Ebl *ebl = state->thread->process->ebl; in state_fetch_pc()
86 state_alloc (Dwfl_Thread *thread) in state_alloc() argument
88 assert (thread->unwound == NULL); in state_alloc()
89 Ebl *ebl = thread->process->ebl; in state_alloc()
97 state->thread = thread; in state_alloc()
102 thread->unwound = state; in state_alloc()
231 dwfl_thread_dwfl (Dwfl_Thread *thread) in INTDEF()
233 return thread->process->dwfl; in INTDEF()
238 dwfl_thread_tid (Dwfl_Thread *thread) in INTDEF()
240 return thread->tid; in INTDEF()
[all …]
/third_party/pulseaudio/src/pulse/
Dthread-mainloop.c37 #include <pulsecore/thread.h>
42 #include "thread-mainloop.h"
49 pa_thread* thread; member
57 return pa_thread_self() == m->thread; in in_worker()
67 * avahi_simple_poll_quit() can succeed from another thread. */ in poll_func()
76 static void thread(void *userdata) { in thread() function
85 // Once thread OS_RendererML and OS_AudioML is created, it will not exit. in thread()
88 pa_log_error("Thread %s exit", m->name); in thread()
90 … // Handle unexpected thread termination: kill the process to ensure continued service in user ver. in thread()
122 /* Make sure that this function is not called from the helper thread */ in pa_threaded_mainloop_free()
[all …]
/third_party/ltp/testcases/realtime/func/async_handler/
Dasync_handler_jk.c24 * An async event server thread is created that goes to sleep waiting
27 * A user thread is created that simulates the firing of an event by
28 * signalling the async handler thread to do some work.
82 struct thread *thread = ((struct thread *)arg); in async_event_server() local
84 thread->func = NULL; // entrypoint in async_event_server()
85 thread->flags |= THREAD_FLAG_SUSPENDED; in async_event_server()
88 if ((err = pthread_mutex_lock(&thread->mutex))) in async_event_server()
92 while (thread->flags & THREAD_FLAG_SUSPENDED) in async_event_server()
93 pthread_cond_wait(&thread->cond, &thread->mutex); in async_event_server()
95 pthread_mutex_unlock(&thread->mutex); in async_event_server()
[all …]

12345678910>>...215