1 // Copyright 2018 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef BASE_THREADING_PLATFORM_THREAD_WIN_H_ 6 #define BASE_THREADING_PLATFORM_THREAD_WIN_H_ 7 8 #include "base/win/windows_types.h" 9 10 #include "base/threading/platform_thread.h" 11 12 #include "base/base_export.h" 13 14 namespace base { 15 namespace internal { 16 17 // Assert that the memory priority of `thread` is `memory_priority`. Exposed 18 // for unit tests. 19 BASE_EXPORT void AssertMemoryPriority(HANDLE thread, int memory_priority); 20 21 } // namespace internal 22 23 BASE_EXPORT void InitializePlatformThreadFeatures(); 24 25 } // namespace base 26 27 #endif // BASE_THREADING_PLATFORM_THREAD_WIN_H_ 28