Home
last modified time | relevance | path

Searched refs:main_thread (Results 1 – 25 of 27) sorted by relevance

12

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
D3-1.c21 pthread_t main_thread; in main() local
23 main_thread = pthread_self(); in main()
25 if (pthread_kill(main_thread, 0) != 0) { in main()
D7-1.c23 pthread_t main_thread; in main() local
25 main_thread = pthread_self(); in main()
27 if (EINVAL != pthread_kill(main_thread, -1)) { in main()
D2-1.c23 pthread_t main_thread; in main() local
25 main_thread = pthread_self(); in main()
27 if (pthread_kill(main_thread, 0) != 0) { in main()
/third_party/node/src/inspector/
Dtracing_agent.cc85 std::shared_ptr<MainThreadHandle> main_thread) in InspectorTraceWriter() argument
86 : frontend_object_id_(frontend_object_id), main_thread_(main_thread) {} in InspectorTraceWriter()
118 std::shared_ptr<MainThreadHandle> main_thread) in TracingAgent() argument
119 : env_(env), main_thread_(main_thread) {} in TracingAgent()
Dmain_thread_interface.h43 explicit MainThreadHandle(MainThreadInterface* main_thread) in MainThreadHandle() argument
44 : main_thread_(main_thread) { in MainThreadHandle()
/third_party/node/src/
Dinspector_io.cc241 std::shared_ptr<MainThreadHandle> main_thread, in Start() argument
246 new InspectorIo(main_thread, in Start()
256 InspectorIo::InspectorIo(std::shared_ptr<MainThreadHandle> main_thread, in InspectorIo() argument
260 : main_thread_(main_thread), in InspectorIo()
331 std::shared_ptr<MainThreadHandle> main_thread, in InspectorIoDelegate() argument
335 : request_queue_(queue), main_thread_(main_thread), in InspectorIoDelegate()
Dinspector_io.h31 std::shared_ptr<MainThreadHandle> main_thread,
/third_party/glib/glib/tests/
Dcond.c281 static pthread_t main_thread; variable
294 pthread_kill (main_thread, SIGHUP); in mutex_holder()
333 main_thread = pthread_self (); in test_wait_until_errno()
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dhud_cpu.c320 bool main_thread; member
335 if (info->main_thread) { in query_api_thread_busy_status()
384 ((struct thread_info*)gr->query_data)->main_thread = main; in hud_thread_busy_install()
/third_party/glib/gio/tests/
Dtask.c16 static GThread *main_thread; variable
346 g_assert (g_thread_self () == main_thread); in anon_callback()
421 g_assert (g_thread_self () == main_thread); in wrong_callback()
974 g_assert (g_thread_self () == main_thread); in run_in_thread_callback()
1007 g_assert (g_thread_self () != main_thread); in run_in_thread_thread()
1082 g_assert (g_thread_self () != main_thread); in run_in_thread_sync_thread()
1133 g_assert (g_thread_self () == main_thread); in quit_main_loop_callback()
1432 g_assert (g_thread_self () == main_thread); in return_on_cancel_callback()
1463 g_assert (g_thread_self () != main_thread); in return_on_cancel_thread()
1754 g_assert (g_thread_self () == main_thread); in return_on_cancel_atomic_callback()
[all …]
/third_party/python/Include/internal/
Dpycore_runtime.h101 unsigned long main_thread; member
Dpycore_pystate.h20 return (thread == _PyRuntime.main_thread); in _Py_IsMainThread()
/third_party/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c172 static int main_thread(void) in main_thread() function
338 ret = main_thread(); in main()
/third_party/cef/patch/patches/
Dwebkit_plugin_info_2015.patch16 std::unique_ptr<Thread> main_thread);
/third_party/python/Lib/test/
Dtest_socketserver.py436 main_thread = threading.get_ident()
454 pthread_kill(main_thread, signal.SIGUSR1)
Dtest_wsgiref.py278 main_thread = threading.get_ident()
291 pthread_kill(main_thread, signal.SIGUSR1)
Dtest_threading.py585 main = threading.main_thread()
591 self.assertNotEqual(threading.main_thread().ident,
D_test_multiprocessing.py375 current_mainthread_native_id = threading.main_thread().native_id
389 mainthread_native_id = threading.main_thread().native_id
/third_party/python/Lib/multiprocessing/
Dprocess.py305 threading.main_thread()._set_native_id()
/third_party/python/Lib/asyncio/
Dproactor_events.py632 if threading.current_thread() is threading.main_thread():
680 if threading.current_thread() is threading.main_thread():
Devents.py652 threading.current_thread() is threading.main_thread()):
Dunix_events.py1427 if threading.current_thread() is threading.main_thread():
1441 threading.current_thread() is threading.main_thread()):
/third_party/python/Python/
Dpystate.c90 runtime->main_thread = PyThread_get_thread_ident(); in _PyRuntimeState_Init_impl()
142 runtime->main_thread = PyThread_get_thread_ident(); in _PyRuntimeState_ReInitThreads()
/third_party/python/Lib/
Dthreading.py1567 def main_thread(): function
/third_party/python/Doc/library/
Dthreading.rst131 .. function:: main_thread()

12