1 // Copyright 2017 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 module mojo_base.mojom; 6 7 // Corresponds to |base::ThreadPriority| 8 enum ThreadPriority { 9 // Suitable for threads that shouldn't disrupt high priority work. 10 BACKGROUND, 11 // Default priority level. 12 NORMAL, 13 // Suitable for threads which generate data for the display (at ~60Hz). 14 DISPLAY, 15 // Suitable for low-latency, glitch-resistant audio. 16 REALTIME_AUDIO, 17 }; 18