Delete the windows specific count_down_latch and use the shared implementation

PiperOrigin-RevId: 398772515
This commit is contained in:
jfcarroll
2021-09-24 11:17:45 -07:00
committed by Copybara-Service
parent d68a8f6216
commit 27577c6994
12 changed files with 82 additions and 159 deletions
+2 -3
View File
@@ -27,7 +27,7 @@
#include "platform/api/bluetooth_adapter.h"
#include "platform/api/bluetooth_classic.h"
#include "platform/api/condition_variable.h"
#include "platform/api/count_down_latch.h"
#include "platform/impl/shared/count_down_latch.h"
#include "platform/api/log_message.h"
#include "platform/api/mutex.h"
#include "platform/api/scheduled_executor.h"
@@ -42,7 +42,6 @@
#include "platform/impl/g3/bluetooth_adapter.h"
#include "platform/impl/g3/bluetooth_classic.h"
#include "platform/impl/g3/condition_variable.h"
#include "platform/impl/g3/count_down_latch.h"
#include "platform/impl/g3/log_message.h"
#include "platform/impl/g3/multi_thread_executor.h"
#include "platform/impl/g3/mutex.h"
@@ -94,7 +93,7 @@ ImplementationPlatform::CreateBluetoothAdapter() {
std::unique_ptr<CountDownLatch> ImplementationPlatform::CreateCountDownLatch(
std::int32_t count) {
return absl::make_unique<g3::CountDownLatch>(count);
return absl::make_unique<shared::CountDownLatch>(count);
}
std::unique_ptr<AtomicBoolean> ImplementationPlatform::CreateAtomicBoolean(