We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2a58c1 commit d55dd65Copy full SHA for d55dd65
src/datadog/threaded_event_scheduler.h
@@ -1,5 +1,10 @@
1
#pragma once
2
3
+// This component provides a `class`, `ThreadedEventScheduler`, that implements
4
+// the `EventScheduler` interface in terms of a dedicated event dispatching
5
+// thread. It is the default implementation used if
6
+// `DatadogAgent::event_scheduler` is not specified.
7
+
8
#include <chrono>
9
#include <condition_variable>
10
#include <functional>
@@ -46,8 +51,6 @@ class ThreadedEventScheduler : public EventScheduler {
46
51
void run();
47
52
48
53
public:
49
- // TODO: Didn't figure out what kind of dependency injection is appropriate
50
- // for a thread that interacts with a condition variable.
54
ThreadedEventScheduler();
55
~ThreadedEventScheduler();
56
0 commit comments