Home
last modified time | relevance | path

Searched refs:pthread_mutex_lock (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_process_lock.h261 …KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(wq_addr_mtx)) == 0, ("%s: wq_addr_mtx already locked", …
266 (void)pthread_mutex_lock(&SCTP_BASE_INFO(wq_addr_mtx))
279 …KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx)) == 0, ("%s: ipi_ep_mtx already locked", __…
281 …KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx)) == 0, ("%s: ipi_ep_mtx already locked", __…
288 (void)pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx))
290 (void)pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx))
305 …KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(ipi_pktlog_mtx)) == 0, ("%s: ipi_pktlog_mtx already loc…
310 (void)pthread_mutex_lock(&SCTP_BASE_INFO(ipi_pktlog_mtx))
327 …KASSERT(pthread_mutex_lock(&(_inp)->inp_rdata_mtx) == 0, ("%s: inp_rdata_mtx already locked", __fu…
332 (void)pthread_mutex_lock(&(_inp)->inp_rdata_mtx)
[all …]
/third_party/musl/libc-test/src/functional/
Dpthread_cond.c12 pthread_mutex_lock(args[1]); in start_signal()
25 pthread_mutex_lock(m); in start_wait()
44 TEST(r, pthread_mutex_lock(&mtx), ""); in main()
55 TEST(r, pthread_mutex_lock(&mtx), ""); in main()
63 TEST(r, pthread_mutex_lock(&mtx), ""); in main()
66 TEST(r, pthread_mutex_lock(&mtx), ""); in main()
69 TEST(r, pthread_mutex_lock(&mtx), ""); in main()
81 TEST(r, pthread_mutex_lock(&mtx), ""); in main()
88 TEST(r, pthread_mutex_lock(&mtx), ""); in main()
Dpthread_robust.c13 pthread_mutex_lock(arg); in start_lock()
20 pthread_mutex_lock(args[1]); in start_wait()
45 TEST(r, pthread_mutex_lock(&mtx), "locking robust mutex"); in f()
49 TESTX(r, pthread_mutex_lock(&mtx), EOWNERDEAD, "locking orphaned robust mutex"); in f()
51 TESTX(r, pthread_mutex_lock(&mtx), ENOTRECOVERABLE, "re-locking orphaned robust mutex"); in f()
57 TESTX(r, pthread_mutex_lock(&mtx), EOWNERDEAD, "locking orphaned robust mutex"); in f()
60 TEST(r, pthread_mutex_lock(&mtx), "re-locking orphaned robust mutex"); in f()
70 TESTX(r, pthread_mutex_lock(&mtx), EOWNERDEAD, ""); in f()
/third_party/glib/glib/
Dgatomic.c735 pthread_mutex_lock (&g_atomic_lock); in gint()
746 pthread_mutex_lock (&g_atomic_lock);
754 pthread_mutex_lock (&g_atomic_lock);
764 pthread_mutex_lock (&g_atomic_lock); in gboolean()
778 pthread_mutex_lock (&g_atomic_lock); in gboolean()
794 pthread_mutex_lock (&g_atomic_lock); in gint()
808 pthread_mutex_lock (&g_atomic_lock); in guint()
822 pthread_mutex_lock (&g_atomic_lock); in guint()
836 pthread_mutex_lock (&g_atomic_lock); in guint()
851 pthread_mutex_lock (&g_atomic_lock); in gpointer()
[all …]
/third_party/boost/boost/smart_ptr/detail/
Dsp_counted_base_pt.hpp88 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in add_ref_copy()
95 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in add_ref_lock()
103 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in release()
116 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in weak_add_ref()
123 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in weak_release()
135 BOOST_VERIFY( pthread_mutex_lock( &m_ ) == 0 ); in use_count()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_mutex_lock.c28 int32_t ret = pthread_mutex_lock(&g_mutex); in threadfuncA()
36 int32_t ret = pthread_mutex_lock(&g_mutex); in threadfuncB()
37 ret = pthread_mutex_lock(&g_mutex); in threadfuncB()
46 int32_t ret = pthread_mutex_lock(&g_mutex); in threadfuncC()
56 int32_t ret = pthread_mutex_lock(&g_mutex); in threadfuncD()
57 ret = pthread_mutex_lock(&g_mutex); in threadfuncD()
/third_party/ltp/testcases/realtime/stress/pi-tests/
Dlookup_pi_state.c79 pthread_mutex_lock(&MS); in slave_thread()
83 pthread_mutex_lock(&MM); // make sure the master thread is waiting in slave_thread()
112 pthread_mutex_lock(&MM); in master_thread()
122 pthread_mutex_lock(&MS); in master_thread()
151 pthread_mutex_lock(&MS); in master_thread()
161 pthread_mutex_lock(&MT); in master_thread()
/third_party/musl/libc-test/src/functionalext/thread/
Dpthread_cond_timedwait.c61 EXPECT_EQ(pthread_mutex_lock(&mutex), 0); in pthread_cond_timedwait_0010()
88 EXPECT_EQ(pthread_mutex_lock(&mutex), 0); in pthread_cond_timedwait_0020()
111 EXPECT_EQ(pthread_mutex_lock(&mutex), 0); in pthread_cond_timedwait_time64_0010()
222 EXPECT_EQ(pthread_mutex_lock(&c_mtx1), 0); in ClockWaitTimedwait1()
233 EXPECT_EQ(pthread_mutex_lock(&c_mtx1), 0); in ClockWaitTimedwait2()
267 EXPECT_EQ(pthread_mutex_lock(&c_mtx2), 0); in ClockWaitTimeOut()
300 EXPECT_EQ(pthread_mutex_lock(&c_mtx3), 0); in ClockWaitTimedwait3()
311 EXPECT_EQ(pthread_mutex_lock(&c_mtx3), 0); in ClockWaitTimedwait4()
345 EXPECT_EQ(pthread_mutex_lock(&c_mtx2), 0); in ClockWaitTimeOut2()
380 EXPECT_EQ(pthread_mutex_lock(&c_mtx4), 0); in ClockWaitTimeMismatch()
[all …]
Dpthread_mutex_ext.c48 TEST(pthread_mutex_lock(&mtx) == 0); in pthread_mutex_clocklock_0010()
80 TEST(pthread_mutex_lock(&mtx) == 0); in pthread_mutex_clocklock_0020()
116 TEST(pthread_mutex_lock(&mtx) == 0); in pthread_mutex_clocklock_0030()
148 TEST(pthread_mutex_lock(&mtx) == 0); in pthread_mutex_clocklock_0040()
188 TEST(pthread_mutex_lock(&mtx) == 0); in pthread_mutex_clocklock_0050()
220 TEST(pthread_mutex_lock(&mtx) == 0); in pthread_mutex_clocklock_0060()
263 TEST(pthread_mutex_lock(&mtx) == 0); in pthread_mutex_timedlock_monotonic_np_0010()
295 TEST(pthread_mutex_lock(&mtx) == 0); in pthread_mutex_timedlock_monotonic_np_0020()
332 TEST(pthread_mutex_lock(&mtx) == 0); in pthread_mutex_lock_timeout_np_0010()
365 TEST(pthread_mutex_lock(&mtx) == 0); in pthread_mutex_lock_timeout_np_0020()
/third_party/skia/third_party/externals/angle2/util/android/third_party/
Dandroid_native_app_glue.c40 pthread_mutex_lock(&android_app->mutex); in free_saved_state()
93 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd()
110 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd()
126 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd()
150 pthread_mutex_lock(&android_app->mutex); in android_app_post_exec_cmd()
158 pthread_mutex_lock(&android_app->mutex); in android_app_post_exec_cmd()
177 pthread_mutex_lock(&android_app->mutex); in android_app_destroy()
228 pthread_mutex_lock(&android_app->mutex); in android_app_entry()
272 pthread_mutex_lock(&android_app->mutex); in android_app_create()
288 pthread_mutex_lock(&android_app->mutex); in android_app_set_input()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/util/android/third_party/
Dandroid_native_app_glue.c40 pthread_mutex_lock(&android_app->mutex); in free_saved_state()
93 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd()
110 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd()
126 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd()
150 pthread_mutex_lock(&android_app->mutex); in android_app_post_exec_cmd()
158 pthread_mutex_lock(&android_app->mutex); in android_app_post_exec_cmd()
177 pthread_mutex_lock(&android_app->mutex); in android_app_destroy()
228 pthread_mutex_lock(&android_app->mutex); in android_app_entry()
272 pthread_mutex_lock(&android_app->mutex); in android_app_create()
288 pthread_mutex_lock(&android_app->mutex); in android_app_set_input()
[all …]
/third_party/ltp/testcases/realtime/func/prio-preempt/
Dprio-preempt.c147 pthread_mutex_lock(&bmutex); in busy_thread()
174 pthread_mutex_lock(&bmutex); in worker_thread()
179 rc = pthread_mutex_lock(&mutex[tid]); in worker_thread()
191 pthread_mutex_lock(&bmutex); in worker_thread()
198 rc = pthread_mutex_lock(&mutex[tid + 1]); in worker_thread()
224 pthread_mutex_lock(&bmutex); in worker_thread()
279 pthread_mutex_lock(&mutex[0]); in master_thread()
/third_party/ltp/testcases/realtime/perf/latency/
Dpthread_cond_latency.c93 pthread_mutex_lock(&child_mutex); in childfunc()
147 pthread_mutex_lock(&child_mutex); in test_signal()
152 pthread_mutex_lock(&child_mutex); in test_signal()
169 pthread_mutex_lock(&child_mutex); in test_signal()
183 pthread_mutex_lock(&child_mutex); in test_signal()
Dpthread_cond_many.c86 pthread_mutex_lock(&child_mutex); in childfunc()
154 pthread_mutex_lock(&child_mutex); in wake_child()
158 pthread_mutex_lock(&child_mutex); in wake_child()
175 pthread_mutex_lock(&child_mutex); in wake_child()
214 pthread_mutex_lock(&child_mutex); in test_signal()
221 pthread_mutex_lock(&child_mutex); in test_signal()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkSemaphoreExternalLinux.hpp72 pthread_mutex_lock(&mutex); in addRef()
80 pthread_mutex_lock(&mutex); in deref()
88 pthread_mutex_lock(&mutex); in wait()
106 pthread_mutex_lock(&mutex); in tryWait()
118 pthread_mutex_lock(&mutex); in signal()
/third_party/mesa3d/src/gallium/frontends/nine/
Dthreadpool.c46 pthread_mutex_lock(&pool->m); in threadpool_worker()
68 pthread_mutex_lock(&pool->m); in threadpool_worker()
114 pthread_mutex_lock(&pool->m); in _mesa_threadpool_destroy()
163 pthread_mutex_lock(&pool->m); in _mesa_threadpool_queue_task()
192 pthread_mutex_lock(&pool->m); in _mesa_threadpool_wait_for_task()
/third_party/ffmpeg/libavutil/
Dthreadmessage.c109 pthread_mutex_lock(&mq->lock); in av_thread_message_queue_nb_elems()
163 pthread_mutex_lock(&mq->lock); in av_thread_message_queue_send()
179 pthread_mutex_lock(&mq->lock); in av_thread_message_queue_recv()
192 pthread_mutex_lock(&mq->lock); in av_thread_message_queue_set_err_send()
203 pthread_mutex_lock(&mq->lock); in av_thread_message_queue_set_err_recv()
224 pthread_mutex_lock(&mq->lock); in av_thread_message_flush()
Dslicethread.c72 pthread_mutex_lock(&w->mutex); in thread_worker()
86 pthread_mutex_lock(&ctx->done_mutex); in thread_worker()
144 pthread_mutex_lock(&w->mutex); in avpriv_slicethread_create()
179 pthread_mutex_lock(&w->mutex); in avpriv_slicethread_execute()
191 pthread_mutex_lock(&ctx->done_mutex); in avpriv_slicethread_execute()
215 pthread_mutex_lock(&w->mutex); in avpriv_slicethread_free()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/
D4-1.c110 if ((ret = pthread_mutex_lock(&mtx))) { in threaded()
172 if ((ret = pthread_mutex_lock(&mtx))) { in main()
176 if ((ret = pthread_mutex_lock(&mtx))) { in main()
231 if ((ret = pthread_mutex_lock(&mtx))) { in main()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
Ds-c1.c111 ret = pthread_mutex_lock(&mtx[i]); in threaded()
114 ret = pthread_mutex_lock(&m); in threaded()
133 ret = pthread_mutex_lock(&m); in threaded()
226 ret = pthread_mutex_lock(&mtx[i]); in main()
259 ret = pthread_mutex_lock(&m); in main()
/third_party/mesa3d/src/util/
Du_atomic.c42 pthread_mutex_lock(&sync_mutex); in __sync_add_and_fetch_8()
55 pthread_mutex_lock(&sync_mutex); in __sync_sub_and_fetch_8()
68 pthread_mutex_lock(&sync_mutex); in __sync_val_compare_and_swap_8()
/third_party/selinux/libselinux/src/
Dselinux_internal.h45 #pragma weak pthread_mutex_lock macro
62 if (pthread_mutex_lock != NULL) \
63 pthread_mutex_lock(LOCK); \
/third_party/curl/tests/libtest/
Dlib1565.c60 pthread_mutex_lock(&lock); in run_thread()
80 pthread_mutex_lock(&lock); in run_thread()
147 pthread_mutex_lock(&lock); in test()
180 pthread_mutex_lock(&lock); in test()
/third_party/boost/boost/thread/pthread/
Dpthread_helpers.hpp74 int pthread_mutex_lock(pthread_mutex_t* m) in pthread_mutex_lock() function
79 ret = ::pthread_mutex_lock(m); in pthread_mutex_lock()
141 int pthread_mutex_lock(pthread_mutex_t* m) in pthread_mutex_lock() function
143 return ::pthread_mutex_lock(m); in pthread_mutex_lock()
/third_party/ffmpeg/libavcodec/
Dframe_thread_encoder.c78 pthread_mutex_lock(&c->task_fifo_mutex); in worker()
107 pthread_mutex_lock(&c->buffer_mutex); in worker()
110 pthread_mutex_lock(&c->finished_task_mutex); in worker()
117 pthread_mutex_lock(&c->buffer_mutex); in worker()
259 pthread_mutex_lock(&c->task_fifo_mutex); in ff_frame_thread_encoder_free()
292 pthread_mutex_lock(&c->task_fifo_mutex); in ff_thread_video_encode_frame()
299 pthread_mutex_lock(&c->finished_task_mutex); in ff_thread_video_encode_frame()

12345678910>>...20