blob: 941818e819ea71e8385cb8ae9b0cf02e2120c485 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright 2020 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.
#ifndef BASE_THREADING_THREADING_FEATURES_H_
#define BASE_THREADING_THREADING_FEATURES_H_
#include "base/base_export.h"
#include "build/build_config.h"
#if defined(OS_APPLE)
#include "base/metrics/field_trial_params.h"
#endif
namespace base {
struct Feature;
#if defined(OS_APPLE)
extern const BASE_EXPORT Feature kOptimizedRealtimeThreadingMac;
extern const BASE_EXPORT FeatureParam<bool>
kOptimizedRealtimeThreadingMacPreemptible;
extern const BASE_EXPORT FeatureParam<double>
kOptimizedRealtimeThreadingMacBusy;
extern const BASE_EXPORT FeatureParam<double>
kOptimizedRealtimeThreadingMacBusyLimit;
#endif
extern const BASE_EXPORT Feature kEnableHangWatcher;
} // namespace base
#endif // BASE_THREADING_THREADING_FEATURES_H_
|