|
|
|
@ -43,7 +43,7 @@ |
|
|
|
|
void grpc_stream_ref(grpc_stream_refcount *refcount, const char *reason) { |
|
|
|
|
gpr_atm val = gpr_atm_no_barrier_load(&refcount->refs.count); |
|
|
|
|
gpr_log(GPR_DEBUG, "%s %p:%p REF %d->%d %s", refcount->object_type, |
|
|
|
|
refcount, refcount->destroy.cb_arg, val, val + 1, reason); |
|
|
|
|
refcount, refcount->destroy.cb_arg, (int)val, (int)val + 1, reason); |
|
|
|
|
#else |
|
|
|
|
void grpc_stream_ref(grpc_stream_refcount *refcount) { |
|
|
|
|
#endif |
|
|
|
@ -55,7 +55,7 @@ void grpc_stream_unref(grpc_exec_ctx *exec_ctx, grpc_stream_refcount *refcount, |
|
|
|
|
const char *reason) { |
|
|
|
|
gpr_atm val = gpr_atm_no_barrier_load(&refcount->refs.count); |
|
|
|
|
gpr_log(GPR_DEBUG, "%s %p:%p UNREF %d->%d %s", refcount->object_type, |
|
|
|
|
refcount, refcount->destroy.cb_arg, val, val - 1, reason); |
|
|
|
|
refcount, refcount->destroy.cb_arg, (int)val, (int)val - 1, reason); |
|
|
|
|
#else |
|
|
|
|
void grpc_stream_unref(grpc_exec_ctx *exec_ctx, |
|
|
|
|
grpc_stream_refcount *refcount) { |
|
|
|
|