Home
last modified time | relevance | path

Searched refs:shutting_down (Results 1 – 25 of 36) sorted by relevance

12

/external/grpc-grpc/test/cpp/server/
Dserver_request_call_test.cc41 bool shutting_down = false; in TEST() local
56 std::thread t([address, &service, &cq, &mu, &shutting_down] { in TEST()
65 if (!shutting_down) { in TEST()
81 if (!shutting_down && !ok) { in TEST()
85 if (shutting_down && !ok) { in TEST()
101 if (shutting_down) { in TEST()
148 shutting_down = true; in TEST()
/external/crosvm/cros_async/src/blocking/
Dpool.rs34 shutting_down: bool, field
39 while !state.shutting_down { in run_blocking_thread()
53 !s.shutting_down && s.num_notified == 0 in run_blocking_thread()
115 if state.shutting_down { in spawn()
229 shutting_down: false, in new()
251 shutting_down: false, in with_capacity()
286 if state.shutting_down { in shutdown()
291 state.shutting_down = true; in shutdown()
329 pub(crate) fn shutting_down(&self) -> bool { in shutting_down() method
330 self.inner.state.lock().shutting_down in shutting_down()
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_windows.cc124 int shutting_down; member
135 if (tcp->shutting_down) GRPC_ERROR_UNREF(tcp->shutdown_error); in tcp_free()
188 if (info->wsa_error != 0 && !tcp->shutting_down) { in on_read()
194 if (info->bytes_transfered != 0 && !tcp->shutting_down) { in on_read()
199 error = tcp->shutting_down in on_read()
222 if (tcp->shutting_down) { in win_read()
311 if (tcp->shutting_down) { in win_write()
401 if (!tcp->shutting_down) { in win_shutdown()
402 tcp->shutting_down = 1; in win_shutdown()
Dtcp_server_windows.cc64 int shutting_down; member
169 sp->shutting_down = 1; in tcp_server_destroy()
237 sp->shutting_down = 0; in decrement_active_ports_and_notify_locked()
253 if (port->shutting_down) { in start_accept_locked()
330 if (!sp->shutting_down) { in on_accept()
337 if (!sp->shutting_down) { in on_accept()
432 sp->shutting_down = 0; in add_socket_to_server()
Dtcp_custom.cc70 bool shutting_down; member
240 if (tcp->shutting_down) { in endpoint_write()
283 if (!tcp->shutting_down) { in endpoint_shutdown()
288 tcp->shutting_down = true; in endpoint_shutdown()
357 tcp->shutting_down = false; in custom_tcp_endpoint_create()
Dpollset_windows.cc98 pollset->shutting_down = 1; in pollset_shutdown()
123 if (!pollset->kicked_without_pollers && !pollset->shutting_down) { in pollset_work()
148 if (pollset->shutting_down && pollset->on_shutdown != NULL) { in pollset_work()
Dev_epoll1_linux.cc211 bool shutting_down; /* Is the pollset shutting down ? */ member
539 pollset->shutting_down = false; in pollset_init()
619 GPR_ASSERT(!pollset->shutting_down); in pollset_shutdown()
621 pollset->shutting_down = true; in pollset_shutdown()
809 while (worker->state == UNKICKED && !pollset->shutting_down) { in begin_worker()
813 pollset->shutting_down); in begin_worker()
832 pollset->shutting_down, pollset->kicked_without_poller); in begin_worker()
849 return worker->state == DESIGNATED_POLLER && !pollset->shutting_down; in begin_worker()
1009 GPR_ASSERT(!ps->shutting_down); in pollset_work()
Dpollset_windows.h58 int shutting_down; member
Dev_epollsig_linux.cc230 bool shutting_down; /* Is the pollset shutting down ? */ member
1098 pollset->shutting_down = false;
1136 GPR_ASSERT(!pollset->shutting_down);
1137 pollset->shutting_down = true;
1317 } else if (!pollset->shutting_down) {
1373 if (pollset->shutting_down && !pollset_has_workers(pollset) &&
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dbackup_poller.cc47 bool shutting_down; // guarded by pollset_mu member
103 p->shutting_down = true; in g_poller_unref()
125 if (p->shutting_down) { in run_poller()
144 g_poller->shutting_down = false; in g_poller_init_locked()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dbackup_poller.cc45 bool shutting_down; // guarded by pollset_mu member
95 p->shutting_down = true; in g_poller_unref()
116 if (p->shutting_down) { in run_poller()
135 g_poller->shutting_down = false; in g_poller_init_locked()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dtcp_windows.cc125 int shutting_down; member
137 if (tcp->shutting_down) GRPC_ERROR_UNREF(tcp->shutdown_error); in tcp_free()
193 if (info->wsa_error != 0 && !tcp->shutting_down) { in on_read()
199 if (info->bytes_transferred != 0 && !tcp->shutting_down) { in on_read()
226 error = tcp->shutting_down in on_read()
256 if (tcp->shutting_down) { in win_read()
370 if (tcp->shutting_down) { in win_write()
462 if (!tcp->shutting_down) { in win_shutdown()
463 tcp->shutting_down = 1; in win_shutdown()
Dtcp_server_windows.cc69 int shutting_down; member
176 sp->shutting_down = 1; in tcp_server_destroy()
243 sp->shutting_down = 0; in decrement_active_ports_and_notify_locked()
259 if (port->shutting_down) { in start_accept_locked()
334 if (!sp->shutting_down) { in on_accept()
341 if (!sp->shutting_down) { in on_accept()
435 sp->shutting_down = 0; in add_socket_to_server()
Dtcp_custom.cc70 bool shutting_down; member
246 if (tcp->shutting_down) { in endpoint_write()
290 if (!tcp->shutting_down) { in endpoint_shutdown()
295 tcp->shutting_down = true; in endpoint_shutdown()
383 tcp->shutting_down = false; in custom_tcp_endpoint_create()
Dpollset_windows.cc98 pollset->shutting_down = 1; in pollset_shutdown()
123 if (!pollset->kicked_without_pollers && !pollset->shutting_down) { in pollset_work()
148 if (pollset->shutting_down && pollset->on_shutdown != NULL) { in pollset_work()
Dev_epoll1_linux.cc221 bool shutting_down; /* Is the pollset shutting down ? */ member
558 pollset->shutting_down = false; in pollset_init()
639 GPR_ASSERT(!pollset->shutting_down); in pollset_shutdown()
641 pollset->shutting_down = true; in pollset_shutdown()
830 while (worker->state == UNKICKED && !pollset->shutting_down) { in begin_worker()
834 pollset->shutting_down); in begin_worker()
853 pollset->shutting_down, pollset->kicked_without_poller); in begin_worker()
870 return worker->state == DESIGNATED_POLLER && !pollset->shutting_down; in begin_worker()
1032 GPR_ASSERT(!ps->shutting_down); in pollset_work()
Dpollset_windows.h58 int shutting_down; member
Dev_poll_posix.cc200 int shutting_down; member
855 pollset->shutting_down = 0;
954 if (pollset->shutting_down) {
1127 if (pollset->shutting_down) {
1148 GPR_ASSERT(!pollset->shutting_down);
1149 pollset->shutting_down = 1;
1189 if (pollset->shutting_down && !pollset->called_shutdown &&
1247 if (pollset->shutting_down && !pollset->called_shutdown &&
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver.cc74 bool shutting_down; member
143 (*ev_driver)->shutting_down = false; in grpc_ares_ev_driver_create_locked()
157 ev_driver->shutting_down = true; in grpc_ares_ev_driver_on_queries_complete_locked()
162 ev_driver->shutting_down = true; in grpc_ares_ev_driver_shutdown_locked()
241 if (!ev_driver->shutting_down) { in grpc_ares_notify_on_event_locked()
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.h166 meta_->shutting_down.store(true, std::memory_order_relaxed); in SetShuttingDown()
169 bool shutting_down() { in shutting_down() function
170 return meta_->shutting_down.load(std::memory_order_relaxed); in shutting_down()
199 alignas(sizeof(uint64_t)) std::atomic<bool> shutting_down; member
Dclient.cc417 if (shmem_.shutting_down()) in SendWireMessageWithRetriesIfBlocking()
500 if (shmem_.shutting_down()) { in SendControlSocketByte()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc118 bool shutting_down; member
223 ev_driver->shutting_down = true; in grpc_ares_ev_driver_on_queries_complete_locked()
230 ev_driver->shutting_down = true; in grpc_ares_ev_driver_shutdown_locked()
276 driver->request, driver, driver->shutting_down, in on_timeout_locked()
278 if (!driver->shutting_down && error == GRPC_ERROR_NONE) { in on_timeout_locked()
319 driver->request, driver, driver->shutting_down, in on_ares_backup_poll_alarm_locked()
321 if (!driver->shutting_down && error == GRPC_ERROR_NONE) { in on_ares_backup_poll_alarm_locked()
334 if (!driver->shutting_down) { in on_ares_backup_poll_alarm_locked()
421 if (!ev_driver->shutting_down) { in grpc_ares_notify_on_event_locked()
550 (*ev_driver)->shutting_down = false; in grpc_ares_ev_driver_create_locked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/
Dsubchannel_list.h187 bool shutting_down() const { return shutting_down_; } in shutting_down() function
251 ConnectivityStateName(new_state), subchannel_list_->shutting_down(), in OnConnectivityStateChange()
254 if (!subchannel_list_->shutting_down() && in OnConnectivityStateChange()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/
Dsubchannel_list.h201 bool shutting_down() const { return shutting_down_; } in shutting_down() function
449 grpc_error_string(error), sd->subchannel_list_->shutting_down()); in OnConnectivityChangedLocked()
452 if (sd->subchannel_list_->shutting_down() || error == GRPC_ERROR_CANCELLED) { in OnConnectivityChangedLocked()
/external/webrtc/rtc_base/
Devent_tracer.cc131 bool shutting_down = shutdown_event_.Wait(kLoggingInterval); in Log() local
178 if (shutting_down) in Log()

12