naiveproxy/mojo/common/thread_priority.mojom

18 lines
539 B
Plaintext
Raw Permalink Normal View History

2018-01-28 21:32:06 +03:00
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module mojo.common.mojom;
// Corresponds to |base::ThreadPriority|
enum ThreadPriority {
// Suitable for threads that shouldn't disrupt high priority work.
BACKGROUND,
// Default priority level.
NORMAL,
// Suitable for threads which generate data for the display (at ~60Hz).
DISPLAY,
// Suitable for low-latency, glitch-resistant audio.
REALTIME_AUDIO,
};