/* * Copyright (c) 2015 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 RTC_BASE_PLATFORM_THREAD_H_ #define RTC_BASE_PLATFORM_THREAD_H_ #include <functional> #include <string> #if !defined(WEBRTC_WIN) #include <pthread.h> #endif #include "absl/strings/string_view.h" #include "absl/types/optional.h" #include "rtc_base/platform_thread_types.h" namespace rtc { enum class ThreadPriority { … }; struct ThreadAttributes { … }; // Represents a simple worker thread. class PlatformThread final { … }; } // namespace rtc #endif // RTC_BASE_PLATFORM_THREAD_H_