| D | tcp_windows.cc | 127 static void tcp_free(grpc_tcp* tcp) { in tcp_free() argument 128 grpc_winsocket_destroy(tcp->socket); in tcp_free() 129 gpr_mu_destroy(&tcp->mu); in tcp_free() 130 grpc_slice_buffer_destroy(&tcp->last_read_buffer); in tcp_free() 131 delete tcp; in tcp_free() 135 #define TCP_UNREF(tcp, reason) tcp_unref((tcp), (reason), __FILE__, __LINE__) argument 136 #define TCP_REF(tcp, reason) tcp_ref((tcp), (reason), __FILE__, __LINE__) argument 137 static void tcp_unref(grpc_tcp* tcp, const char* reason, const char* file, in tcp_unref() argument 139 if (GRPC_TRACE_FLAG_ENABLED(tcp)) { in tcp_unref() 140 gpr_atm val = gpr_atm_no_barrier_load(&tcp->refcount.count); in tcp_unref() [all …]
|