2 // Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
7 // system_utils.h: declaration of OS-specific utility functions
9 #ifndef UTIL_SYSTEM_UTILS_H_
10 #define UTIL_SYSTEM_UTILS_H_
16 #include "common/angleutils.h"
17 #include "common/system_utils.h"
22 // Cross platform equivalent of the Windows Sleep function
23 ANGLE_EXPORT void Sleep(unsigned int milliseconds);
25 ANGLE_EXPORT void SetLowPriorityProcess();
27 // Write a debug message, either to a standard output or Debug window.
28 ANGLE_EXPORT void WriteDebugMessage(const char *format, ...);
32 #endif // UTIL_SYSTEM_UTILS_H_