Remove temporary EventEngine initialization function (#30121)

* Remove temporary EventEngine initialization function

* Automated change: Fix sanity tests

Co-authored-by: drfloob <drfloob@users.noreply.github.com>
pull/30128/head
AJ Heller 3 years ago committed by GitHub
parent 9d7d97b243
commit 3be2ded484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      src/core/lib/event_engine/event_engine.cc
  2. 3
      src/core/lib/event_engine/event_engine_factory.h

@ -20,9 +20,7 @@
#include <grpc/event_engine/event_engine.h>
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/event_engine/event_engine_factory.h"
#include "src/core/lib/event_engine/trace.h"
namespace grpc_event_engine {
namespace experimental {
@ -65,12 +63,5 @@ void ResetDefaultEventEngine() {
delete g_event_engine.exchange(nullptr, std::memory_order_acq_rel);
}
void InitializeEventEngine() {
GetDefaultEventEngine()->Run([]() {
GRPC_EVENT_ENGINE_TRACE("EventEngine:%p initialized",
GetDefaultEventEngine());
});
}
} // namespace experimental
} // namespace grpc_event_engine

@ -35,9 +35,6 @@ std::unique_ptr<EventEngine> DefaultEventEngineFactory();
/// Reset the default event engine
void ResetDefaultEventEngine();
// TODO(hork): remove this when any other EE usage is landed
void InitializeEventEngine();
} // namespace experimental
} // namespace grpc_event_engine

Loading…
Cancel
Save