Upload upstream chromium 67.0.3396
[platform/framework/web/chromium-efl.git] / third_party / angle / util / system_utils.h
1 //
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.
5 //
6
7 // system_utils.h: declaration of OS-specific utility functions
8
9 #ifndef UTIL_SYSTEM_UTILS_H_
10 #define UTIL_SYSTEM_UTILS_H_
11
12 #include <string>
13
14 #include <export.h>
15
16 #include "common/angleutils.h"
17 #include "common/system_utils.h"
18
19 namespace angle
20 {
21
22 // Cross platform equivalent of the Windows Sleep function
23 ANGLE_EXPORT void Sleep(unsigned int milliseconds);
24
25 ANGLE_EXPORT void SetLowPriorityProcess();
26
27 // Write a debug message, either to a standard output or Debug window.
28 ANGLE_EXPORT void WriteDebugMessage(const char *format, ...);
29
30 } // namespace angle
31
32 #endif  // UTIL_SYSTEM_UTILS_H_