Index: webrtc/base/platform_thread_types.h |
diff --git a/webrtc/base/platform_thread.h b/webrtc/base/platform_thread_types.h |
similarity index 66% |
copy from webrtc/base/platform_thread.h |
copy to webrtc/base/platform_thread_types.h |
index 50033b39282e976cd3f3f4ec35cb52b641249843..546fffd96dbc9cf3e26b8da1c6119634597ecff2 100644 |
--- a/webrtc/base/platform_thread.h |
+++ b/webrtc/base/platform_thread_types.h |
@@ -8,8 +8,8 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#ifndef WEBRTC_BASE_PLATFORM_THREAD_H_ |
-#define WEBRTC_BASE_PLATFORM_THREAD_H_ |
+#ifndef WEBRTC_BASE_PLATFORM_THREAD_TYPES_H_ |
+#define WEBRTC_BASE_PLATFORM_THREAD_TYPES_H_ |
#if defined(WEBRTC_WIN) |
#include <winsock2.h> |
@@ -20,7 +20,6 @@ |
#endif |
namespace rtc { |
- |
#if defined(WEBRTC_WIN) |
typedef DWORD PlatformThreadId; |
typedef DWORD PlatformThreadRef; |
@@ -28,16 +27,6 @@ typedef DWORD PlatformThreadRef; |
typedef pid_t PlatformThreadId; |
typedef pthread_t PlatformThreadRef; |
#endif |
- |
-PlatformThreadId CurrentThreadId(); |
-PlatformThreadRef CurrentThreadRef(); |
- |
-// Compares two thread identifiers for equality. |
-bool IsThreadRefEqual(const PlatformThreadRef& a, const PlatformThreadRef& b); |
- |
-// Sets the current thread name. |
-void SetCurrentThreadName(const char* name); |
- |
} // namespace rtc |
-#endif // WEBRTC_BASE_PLATFORM_THREAD_H_ |
+#endif // WEBRTC_BASE_PLATFORM_THREAD_TYPES_H_ |