/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/ |
D | 3-1.c | 21 pthread_t main_thread; in main() local 23 main_thread = pthread_self(); in main() 25 if (pthread_kill(main_thread, 0) != 0) { in main()
|
D | 7-1.c | 23 pthread_t main_thread; in main() local 25 main_thread = pthread_self(); in main() 27 if (EINVAL != pthread_kill(main_thread, -1)) { in main()
|
D | 2-1.c | 23 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/ |
D | tracing_agent.cc | 85 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()
|
D | main_thread_interface.h | 43 explicit MainThreadHandle(MainThreadInterface* main_thread) in MainThreadHandle() argument 44 : main_thread_(main_thread) { in MainThreadHandle()
|
/third_party/node/src/ |
D | inspector_io.cc | 241 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()
|
D | inspector_io.h | 31 std::shared_ptr<MainThreadHandle> main_thread,
|
/third_party/glib/glib/tests/ |
D | cond.c | 281 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/ |
D | hud_cpu.c | 320 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/ |
D | task.c | 16 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/ |
D | pycore_runtime.h | 101 unsigned long main_thread; member
|
D | pycore_pystate.h | 20 return (thread == _PyRuntime.main_thread); in _Py_IsMainThread()
|
/third_party/ltp/testcases/realtime/func/matrix_mult/ |
D | matrix_mult.c | 172 static int main_thread(void) in main_thread() function 338 ret = main_thread(); in main()
|
/third_party/cef/patch/patches/ |
D | webkit_plugin_info_2015.patch | 16 std::unique_ptr<Thread> main_thread);
|
/third_party/python/Lib/test/ |
D | test_socketserver.py | 436 main_thread = threading.get_ident() 454 pthread_kill(main_thread, signal.SIGUSR1)
|
D | test_wsgiref.py | 278 main_thread = threading.get_ident() 291 pthread_kill(main_thread, signal.SIGUSR1)
|
D | test_threading.py | 585 main = threading.main_thread() 591 self.assertNotEqual(threading.main_thread().ident,
|
D | _test_multiprocessing.py | 375 current_mainthread_native_id = threading.main_thread().native_id 389 mainthread_native_id = threading.main_thread().native_id
|
/third_party/python/Lib/multiprocessing/ |
D | process.py | 305 threading.main_thread()._set_native_id()
|
/third_party/python/Lib/asyncio/ |
D | proactor_events.py | 632 if threading.current_thread() is threading.main_thread(): 680 if threading.current_thread() is threading.main_thread():
|
D | events.py | 652 threading.current_thread() is threading.main_thread()):
|
D | unix_events.py | 1427 if threading.current_thread() is threading.main_thread(): 1441 threading.current_thread() is threading.main_thread()):
|
/third_party/python/Python/ |
D | pystate.c | 90 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/ |
D | threading.py | 1567 def main_thread(): function
|
/third_party/python/Doc/library/ |
D | threading.rst | 131 .. function:: main_thread()
|