Home
last modified time | relevance | path

Searched refs:g_thread_new (Results 1 – 25 of 127) sorted by relevance

123456

/third_party/glib/glib/tests/
Dthread.c86 thread = g_thread_new ("test", thread2_func, NULL); in test_thread2()
122 thread1 = g_thread_new ("a", thread3_func, NULL); in test_thread3()
123 thread2 = g_thread_new ("b", thread3_func, thread1); in test_thread3()
124 thread3 = g_thread_new ("c", thread3_func, thread2); in test_thread3()
184 thread = g_thread_new ("a", thread3_func, NULL); in test_thread5()
209 thread = g_thread_new ("abc", thread6_func, "abc"); in test_thread6()
Dautoptr.c356 g_autoptr(GThread) val = g_thread_new ("bob", mythread, NULL); in test_g_thread()
402 thread = g_thread_new ("mutex locked", mutex_locked_thread, &mutex); in test_g_mutex_locker()
407 thread = g_thread_new ("mutex unlocked", mutex_unlocked_thread, &mutex); in test_g_mutex_locker()
444 thread = g_thread_new ("rec mutex locked", rec_mutex_locked_thread, &rec_mutex); in test_g_rec_mutex_locker()
449 thread = g_thread_new ("rec mutex unlocked", rec_mutex_unlocked_thread, &rec_mutex); in test_g_rec_mutex_locker()
489 …thread = g_thread_new ("rw lock cannot take writer lock", rw_lock_cannot_take_writer_lock_thread, … in test_g_rw_lock_lockers()
503 …thread = g_thread_new ("rw lock can take reader lock", rw_lock_can_take_reader_lock_thread, &lock); in test_g_rw_lock_lockers()
511 …thread = g_thread_new ("rw lock cannot take writer lock", rw_lock_cannot_take_writer_lock_thread, … in test_g_rw_lock_lockers()
Drwlock.c175 threads[i] = g_thread_new ("test", thread_func, NULL); in test_rwlock7()
258 writers[i] = g_thread_new ("a", writer_func, GINT_TO_POINTER (i)); in test_rwlock8()
261 readers[i] = g_thread_new ("b", reader_func, NULL); in test_rwlock8()
Donce.c115 threads[i] = g_thread_new ("once-multi-threaded", in test_once_multi_threaded()
184 threads[i] = g_thread_new ("once-init-multi-threaded", thread_func, NULL); in test_once_init_multi_threaded()
Drec-mutex.c148 threads[i] = g_thread_new ("test", thread_func, NULL); in test_rec_mutex4()
208 threads[i] = g_thread_new ("test", addition_thread, &x); in test_mutex_perf()
Dcharset.c65 g_thread_join (g_thread_new ( in test_language_names_with_category_async()
D1bit-mutex.c143 threads[i] = g_thread_new ("foo", thread_func, in testcase()
/third_party/glib/gio/tests/
Dwin32-streams.c239 writer = g_thread_new ("writer", writer_thread, NULL); in test_pipe_io()
240 reader = g_thread_new ("reader", reader_thread, NULL); in test_pipe_io()
354 writer_server = g_thread_new ("writer_server", pipe_io_overlap_writer_thread, out_server); in test_pipe_io_overlap()
356 rs.thread = g_thread_new ("reader_server", pipe_io_overlap_reader_thread, &rs); in test_pipe_io_overlap()
359 writer_client = g_thread_new ("writer_client", pipe_io_overlap_writer_thread, out_client); in test_pipe_io_overlap()
361 rc.thread = g_thread_new ("reader_client", pipe_io_overlap_reader_thread, &rc); in test_pipe_io_overlap()
436 rc1.thread = g_thread_new ("reader_client", pipe_io_concurrent_reader_thread, &rc1); in test_pipe_io_concurrent()
441 rc2.thread = g_thread_new ("reader_client", pipe_io_concurrent_reader_thread, &rc2); in test_pipe_io_concurrent()
448 writer_server = g_thread_new ("writer_server", pipe_io_concurrent_writer_thread, out_server); in test_pipe_io_concurrent()
Dgdbus-threading.c298 thread = g_thread_new ("deliver", in test_delivery_in_thread()
453 thread1 = g_thread_new ("sleep", in test_method_calls_on_proxy()
461 thread2 = g_thread_new ("sleep2", in test_method_calls_on_proxy()
469 thread3 = g_thread_new ("sleep3", in test_method_calls_on_proxy()
605 thread = g_thread_new ("get_sync_in_thread", get_sync_in_thread, in test_threaded_singleton()
Dcontexts.c82 thread = g_thread_new ("test1", test1_thread, NULL); in idle_start_test1_thread()
312 threads[i] = g_thread_new ("test", test_identity_thread, GUINT_TO_POINTER (i)); in test_context_specific_identity()
366 threads[i] = g_thread_new ("test", test_emit_thread, &observed_values[i]); in test_context_specific_emit()
Dunix-streams.c290 writer = g_thread_new ("writer", writer_thread, NULL); in test_pipe_io()
291 reader = g_thread_new ("reader", reader_thread, NULL); in test_pipe_io()
447 write_thread = g_thread_new ("writer", test_read_write_writev_thread, &data); in test_read_write()
449 write_thread = g_thread_new ("writer", test_read_write_write_thread, &data); in test_read_write()
450 read_thread = g_thread_new ("reader", test_read_write_read_thread, &data); in test_read_write()
Dnetwork-monitor-race.c45 thread = g_thread_new (NULL, thread_func, user_data); in call_func()
Dgdbus-peer.c774 service_thread = g_thread_new ("test_peer", in do_test_peer()
1338 service_thread = g_thread_new ("test_peer", in test_peer_signals()
1540 service_thread = g_thread_new ("dmp", in delayed_message_processing()
1692 service_thread = g_thread_new ("nonce-tcp-service", in test_nonce_tcp()
1885 service_thread = g_thread_new ("tcp-anon-service", in test_tcp_anonymous()
2064 service_thread = g_thread_new ("codegen_test_peer", in codegen_test_peer()
Dgdbus-proxy-threads.c218 proxy_threads[i] = g_thread_new ("run-proxy", in test_proxy()
/third_party/gstreamer/gstreamer/tests/check/elements/
Dconcat.c144 thread1 = g_thread_new ("thread1", (GThreadFunc) push_buffers_time, sink1); in GST_START_TEST()
145 thread2 = g_thread_new ("thread2", (GThreadFunc) push_buffers_time, sink2); in GST_START_TEST()
146 thread3 = g_thread_new ("thread3", (GThreadFunc) push_buffers_time, sink3); in GST_START_TEST()
266 thread1 = g_thread_new ("thread1", (GThreadFunc) push_buffers_bytes, sink1); in GST_START_TEST()
267 thread2 = g_thread_new ("thread2", (GThreadFunc) push_buffers_bytes, sink2); in GST_START_TEST()
268 thread3 = g_thread_new ("thread3", (GThreadFunc) push_buffers_bytes, sink3); in GST_START_TEST()
Dmultiqueue.c973 thread = g_thread_new ("push1", pad_push_datablock_thread, inputpad); in GST_START_TEST()
1060 thread = g_thread_new ("push1", pad_push_datablock_thread, inputpad); in GST_START_TEST()
1158 thread = g_thread_new ("push1", pad_push_datablock_thread, inputpad); in GST_START_TEST()
1254 thread = g_thread_new ("push1", pad_push_datablock_thread, inputpad); in GST_START_TEST()
1337 thread = g_thread_new ("push1", pad_push_thread, inputpad); in GST_START_TEST()
1339 thread = g_thread_new ("push2", pad_push_thread, inputpad); in GST_START_TEST()
1341 thread = g_thread_new ("push3", pad_push_thread, inputpad); in GST_START_TEST()
1343 thread = g_thread_new ("push4", pad_push_thread, inputpad); in GST_START_TEST()
1352 thread = g_thread_new ("push5", pad_push_thread, inputpad); in GST_START_TEST()
/third_party/gstreamer/gstreamer/tests/check/libs/
Dgsttestclock.c283 g_thread_new ("worker_thread", in GST_START_TEST()
302 g_thread_new ("worker_thread", in GST_START_TEST()
320 g_thread_new ("worker_thread", in GST_START_TEST()
368 g_thread_new ("worker_thread", in GST_START_TEST()
379 g_thread_new ("worker_thread", in GST_START_TEST()
405 g_thread_new ("waiter_thread", in GST_START_TEST()
428 g_thread_new ("waiter_thread", in GST_START_TEST()
646 g_thread_new ("worker_thread_b", in GST_START_TEST()
656 g_thread_new ("worker_thread_a", in GST_START_TEST()
726 g_thread_new ("worker_thread_a", in GST_START_TEST()
[all …]
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstsystemclock.c319 d->thread_wait = g_thread_new ("wait", single_shot_wait_thread_func, d); in GST_START_TEST()
320 d->thread_unschedule = g_thread_new ("unschedule", unschedule_thread_func, in GST_START_TEST()
364 d->thread_wait = g_thread_new ("wait", single_shot_wait_thread_func, d); in GST_START_TEST()
365 d->thread_unschedule = g_thread_new ("unschedule", unschedule_thread_func, in GST_START_TEST()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpssrcdemux.c232 thread = g_thread_new ("streaming-thread", push_buffer_func, h); in GST_START_TEST()
443 t0 = g_thread_new ("push rtp", _simul_ctx_push_rtp_buffers, &ctx); in GST_START_TEST()
444 t1 = g_thread_new ("push rtcp", _simul_ctx_push_rtcp_buffers, &ctx); in GST_START_TEST()
/third_party/glib/glib/deprecated/
Dgthread.h99 GLIB_DEPRECATED_IN_2_32_FOR(g_thread_new)
105 GLIB_DEPRECATED_IN_2_32_FOR(g_thread_new)
/third_party/glib/gobject/tests/
Dclosure-refcount.c272 thread1 = g_thread_new ("thread1", thread1_main, &test_data); in test_closure_refcount()
273 thread2 = g_thread_new ("thread2", thread2_main, &test_data); in test_closure_refcount()
Dqdata.c69 threads[i] = g_thread_new ("qdata", thread_func, GINT_TO_POINTER (i)); in test_qdata_threaded()
/third_party/libsoup/libsoup/
Dsoup-session-sync.c118 thread = g_thread_new ("SoupSessionSync:queue_message", in soup_session_sync_queue_message()
/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/
Dd3d11videosink-kb.c164 g_thread_new ("gst-play-kb", gst_d3d11_video_sink_kb_thread, in gst_d3d11_video_sink_kb_set_key_handler()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Davwait.c263 athread = g_thread_new ("athread", (GThreadFunc) push_abuffers, pb); in test_avwait_generic()
264 vthread = g_thread_new ("vthread", (GThreadFunc) push_vbuffers, e); in test_avwait_generic()

123456