Make ExecCtx::Set private (#29771)

This was made public in 539f506, but all non-private usages have been
removed. The comment was never moved, so it is already in the correct
place.
pull/29775/head
Tamir Duberstein 3 years ago committed by GitHub
parent 98f6a3a0e9
commit cd1661a82b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/core/lib/iomgr/exec_ctx.h

@ -204,8 +204,6 @@ class ExecCtx {
/** Gets pointer to current exec_ctx. */
static ExecCtx* Get() { return exec_ctx_; }
static void Set(ExecCtx* exec_ctx) { exec_ctx_ = exec_ctx; }
static void Run(const DebugLocation& location, grpc_closure* closure,
grpc_error_handle error);
@ -220,6 +218,7 @@ class ExecCtx {
private:
/** Set exec_ctx_ to exec_ctx. */
static void Set(ExecCtx* exec_ctx) { exec_ctx_ = exec_ctx; }
grpc_closure_list closure_list_ = GRPC_CLOSURE_LIST_INIT;
CombinerData combiner_data_ = {nullptr, nullptr};

Loading…
Cancel
Save