/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/ |
H A 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()
|
H A 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()
|
H A 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()
|
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | stats-collector.cc | 188 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 D | metric-recorder.h | 41 Phases main_thread; member
|
/third_party/node/src/ |
H A D | inspector_io.cc | 211 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 D | js_native_api_v8_inspector.cc | 78 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 D | inspector_io.h | 31 std::shared_ptr<MainThreadHandle> main_thread,
|
/third_party/node/src/inspector/ |
H A D | tracing_agent.cc | 85 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 D | main_thread_interface.h | 43 explicit MainThreadHandle(MainThreadInterface* main_thread) in MainThreadHandle() argument 44 : main_thread_(main_thread) { in MainThreadHandle()
|
/third_party/libfuse/example/ |
H A D | notify_inval_entry.c | 98 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 D | test_runners.py | 394 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 D | pycore_runtime.h | 109 unsigned long main_thread; member
|
H A D | pycore_pystate.h | 20 return (thread == _PyRuntime.main_thread); in _Py_IsMainThread()
|
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
H A 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/ltp/testcases/realtime/func/matrix_mult/ |
H A D | matrix_mult.c | 172 static int main_thread(void) in main_thread() function 338 ret = main_thread(); in main()
|
/third_party/node/deps/v8/src/heap/ |
H A D | local-heap.cc | 370 LocalHeap* main_thread = heap_->main_thread_local_heap(); in TryPerformCollection() 372 const ThreadState old_state = main_thread->state_.SetCollectionRequested(); in TryPerformCollection()
|
H A D | gc-tracer.cc | 1519 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 D | v8-metrics.h | 42 GarbageCollectionPhases main_thread; member
|
/third_party/node/deps/v8/include/ |
H A D | v8-metrics.h | 41 GarbageCollectionPhases main_thread; member
|
/third_party/python/Lib/asyncio/ |
H A D | runners.py | 102 if (threading.current_thread() is threading.main_thread() 109 # `signal.signal` may throw if `threading.main_thread` does
|
H A D | proactor_events.py | 640 if threading.current_thread() is threading.main_thread(): 690 if threading.current_thread() is threading.main_thread():
|
/third_party/python/Lib/test/ |
H A D | test_socketserver.py | 438 main_thread = threading.get_ident() 456 pthread_kill(main_thread, signal.SIGUSR1)
|
H A D | test_wsgiref.py | 262 main_thread = threading.get_ident() 275 pthread_kill(main_thread, signal.SIGUSR1)
|
/third_party/python/Lib/multiprocessing/ |
H A D | process.py | 305 threading.main_thread()._set_native_id()
|