Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1129)

Unified Diff: webrtc/system_wrappers/source/condition_variable_posix.h

Issue 1602203003: Remove unused ConditionVariableWrapper on POSIX platforms (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/system_wrappers/source/condition_variable_posix.h
diff --git a/webrtc/system_wrappers/source/condition_variable_posix.h b/webrtc/system_wrappers/source/condition_variable_posix.h
deleted file mode 100644
index 0aab1f03de878e9d5f2dcd308faa5512ef5f9f0b..0000000000000000000000000000000000000000
--- a/webrtc/system_wrappers/source/condition_variable_posix.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef WEBRTC_SYSTEM_WRAPPERS_SOURCE_CONDITION_VARIABLE_POSIX_H_
-#define WEBRTC_SYSTEM_WRAPPERS_SOURCE_CONDITION_VARIABLE_POSIX_H_
-
-#include <pthread.h>
-
-#include "webrtc/system_wrappers/include/condition_variable_wrapper.h"
-#include "webrtc/typedefs.h"
-
-namespace webrtc {
-
-class ConditionVariablePosix : public ConditionVariableWrapper {
- public:
- static ConditionVariableWrapper* Create();
- ~ConditionVariablePosix() override;
-
- void SleepCS(CriticalSectionWrapper& crit_sect) override;
- bool SleepCS(CriticalSectionWrapper& crit_sect,
- unsigned long max_time_in_ms) override;
- void Wake() override;
- void WakeAll() override;
-
- private:
- ConditionVariablePosix();
- int Construct();
-
- private:
- pthread_cond_t cond_;
-};
-
-} // namespace webrtc
-
-#endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_CONDITION_VARIABLE_POSIX_H_
« no previous file with comments | « webrtc/system_wrappers/source/condition_variable.cc ('k') | webrtc/system_wrappers/source/condition_variable_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698