Home
last modified time | relevance | path

Searched refs:main_thread (Results 1 - 25 of 31) sorted by relevance

12

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
H A 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()
H A 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()
H A 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()
/third_party/node/deps/v8/src/heap/cppgc/
H A Dstats-collector.cc188 event.main_thread.mark_duration_us = in GetCycleEventForMetricRecorder()
191 event.main_thread.weak_duration_us = in GetCycleEventForMetricRecorder()
193 event.main_thread.compact_duration_us = in GetCycleEventForMetricRecorder()
195 event.main_thread.sweep_duration_us = in GetCycleEventForMetricRecorder()
200 event.main_thread.mark_duration_us + concurrent_mark_us; in GetCycleEventForMetricRecorder()
201 event.total.weak_duration_us = event.main_thread.weak_duration_us; in GetCycleEventForMetricRecorder()
202 event.total.compact_duration_us = event.main_thread.compact_duration_us; in GetCycleEventForMetricRecorder()
204 event.main_thread.sweep_duration_us + concurrent_sweep_us; in GetCycleEventForMetricRecorder()
222 SumPhases(event.main_thread); in GetCycleEventForMetricRecorder()
H A Dmetric-recorder.h41 Phases main_thread; member
/third_party/node/src/
H A Dinspector_io.cc211 std::shared_ptr<MainThreadHandle> main_thread,
239 std::shared_ptr<MainThreadHandle> main_thread, in Start()
244 new InspectorIo(main_thread, in Start()
254 InspectorIo::InspectorIo(std::shared_ptr<MainThreadHandle> main_thread, in InspectorIo() argument
258 : main_thread_(main_thread), in InspectorIo()
329 std::shared_ptr<MainThreadHandle> main_thread, in InspectorIoDelegate()
333 : request_queue_(queue), main_thread_(main_thread), in InspectorIoDelegate()
238 Start( std::shared_ptr<MainThreadHandle> main_thread, const std::string& path, std::shared_ptr<ExclusiveAccess<HostPort>> host_port, const InspectPublishUid& inspect_publish_uid) Start() argument
327 InspectorIoDelegate( std::shared_ptr<RequestQueueData> queue, std::shared_ptr<MainThreadHandle> main_thread, const std::string& target_id, const std::string& script_path, const std::string& script_name) InspectorIoDelegate() argument
H A Djs_native_api_v8_inspector.cc78 explicit MainThreadHandle(MainThreadInterface* main_thread) in MainThreadHandle() argument
79 : main_thread_(main_thread) { in MainThreadHandle()
626 std::shared_ptr<MainThreadHandle> main_thread,
654 std::shared_ptr<MainThreadHandle> main_thread, in InspectorIoDelegate()
658 : request_queue_(queue), main_thread_(main_thread), in InspectorIoDelegate()
716 std::shared_ptr<MainThreadHandle> main_thread,
762 std::shared_ptr<MainThreadHandle> main_thread, in Start()
767 new InspectorIo(main_thread, in Start()
777 InspectorIo::InspectorIo(std::shared_ptr<MainThreadHandle> main_thread, in InspectorIo() argument
781 : main_thread_(main_thread), in InspectorIo()
652 InspectorIoDelegate( std::shared_ptr<RequestQueueData> queue, std::shared_ptr<MainThreadHandle> main_thread, const std::string& target_id, const std::string& script_path, const std::string& script_name) InspectorIoDelegate() argument
761 Start( std::shared_ptr<MainThreadHandle> main_thread, const std::string& path, std::shared_ptr<ExclusiveAccess<HostPort>> host_port, const InspectPublishUid& inspect_publish_uid) Start() argument
[all...]
H A Dinspector_io.h31 std::shared_ptr<MainThreadHandle> main_thread,
/third_party/node/src/inspector/
H A Dtracing_agent.cc85 std::shared_ptr<MainThreadHandle> main_thread) in InspectorTraceWriter()
86 : frontend_object_id_(frontend_object_id), main_thread_(main_thread) {} in InspectorTraceWriter()
118 std::shared_ptr<MainThreadHandle> main_thread) in TracingAgent()
119 : env_(env), main_thread_(main_thread) {} in TracingAgent()
84 InspectorTraceWriter(int frontend_object_id, std::shared_ptr<MainThreadHandle> main_thread) InspectorTraceWriter() argument
117 TracingAgent(Environment* env, std::shared_ptr<MainThreadHandle> main_thread) TracingAgent() argument
H A Dmain_thread_interface.h43 explicit MainThreadHandle(MainThreadInterface* main_thread) in MainThreadHandle() argument
44 : main_thread_(main_thread) { in MainThreadHandle()
/third_party/libfuse/example/
H A Dnotify_inval_entry.c98 static pthread_t main_thread; variable
276 pthread_kill(main_thread, SIGPIPE); in update_fs_loop()
351 main_thread = pthread_self(); in main()
/third_party/python/Lib/test/test_asyncio/
H A Dtest_runners.py394 assert threading.current_thread() is threading.main_thread()
409 assert threading.current_thread() is threading.main_thread()
427 assert threading.current_thread() is threading.main_thread()
444 assert threading.current_thread() is threading.main_thread()
/third_party/python/Include/internal/
H A Dpycore_runtime.h109 unsigned long main_thread; member
H A Dpycore_pystate.h20 return (thread == _PyRuntime.main_thread); in _Py_IsMainThread()
/third_party/mesa3d/src/gallium/auxiliary/hud/
H A 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/ltp/testcases/realtime/func/matrix_mult/
H A Dmatrix_mult.c172 static int main_thread(void) in main_thread() function
338 ret = main_thread(); in main()
/third_party/node/deps/v8/src/heap/
H A Dlocal-heap.cc370 LocalHeap* main_thread = heap_->main_thread_local_heap(); in TryPerformCollection()
372 const ThreadState old_state = main_thread->state_.SetCollectionRequested(); in TryPerformCollection()
H A Dgc-tracer.cc1519 CopyTimeMetrics(event.main_thread_cpp, cppgc_event.main_thread); in ReportFullCycleToRecorder()
1573 event.main_thread.total_wall_clock_duration_in_us = static_cast<int64_t>( in ReportFullCycleToRecorder()
1581 event.main_thread.mark_wall_clock_duration_in_us = static_cast<int64_t>( in ReportFullCycleToRecorder()
1587 event.main_thread.weak_wall_clock_duration_in_us = in ReportFullCycleToRecorder()
1591 event.main_thread.compact_wall_clock_duration_in_us = in ReportFullCycleToRecorder()
1600 event.main_thread.sweep_wall_clock_duration_in_us = static_cast<int64_t>( in ReportFullCycleToRecorder()
/third_party/node/deps/v8/include/v8-include/
H A Dv8-metrics.h42 GarbageCollectionPhases main_thread; member
/third_party/node/deps/v8/include/
H A Dv8-metrics.h41 GarbageCollectionPhases main_thread; member
/third_party/python/Lib/asyncio/
H A Drunners.py102 if (threading.current_thread() is threading.main_thread()
109 # `signal.signal` may throw if `threading.main_thread` does
H A Dproactor_events.py640 if threading.current_thread() is threading.main_thread():
690 if threading.current_thread() is threading.main_thread():
/third_party/python/Lib/test/
H A Dtest_socketserver.py438 main_thread = threading.get_ident()
456 pthread_kill(main_thread, signal.SIGUSR1)
H A Dtest_wsgiref.py262 main_thread = threading.get_ident()
275 pthread_kill(main_thread, signal.SIGUSR1)
/third_party/python/Lib/multiprocessing/
H A Dprocess.py305 threading.main_thread()._set_native_id()

Completed in 23 milliseconds

12