Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: base/threading/platform_thread_fuchsia.cc

Issue 2692273008: Hacky slashy (Closed)
Patch Set: rebase on config CL, and minor fixes Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/test/launcher/unit_test_launcher.cc ('k') | base/threading/platform_thread_posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 #include "base/threading/platform_thread.h"
6
7 #include "base/threading/platform_thread_internal_posix.h"
8
9 namespace base {
10
11 namespace internal {
12
13 // TODO(scottmg): Port.
14 const ThreadPriorityToNiceValuePair kThreadPriorityToNiceValueMap[4] = {
15 {ThreadPriority::BACKGROUND, 10},
16 {ThreadPriority::NORMAL, 0},
17 {ThreadPriority::DISPLAY, -8},
18 {ThreadPriority::REALTIME_AUDIO, -10},
19 };
20
21 bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority) {
22 // TODO(scottmg): Port.
23 return false;
24 }
25
26 bool GetCurrentThreadPriorityForPlatform(ThreadPriority* priority) {
27 // TODO(scottmg): Port.
28 return false;
29 }
30
31 } // namespace internal
32
33 void InitThreading() {
34 // TODO(scottmg): Port.
35 }
36
37 void TerminateOnThread() {
38 // TODO(scottmg): Port.
39 }
40
41 size_t GetDefaultThreadStackSize(const pthread_attr_t& attributes) {
42 // TODO(scottmg): Port.
43 return 0;
44 }
45
46 // static
47 void PlatformThread::SetName(const std::string& name) {
48 // TODO(scottmg): Port.
49 }
50
51 } // namespace base
OLDNEW
« no previous file with comments | « base/test/launcher/unit_test_launcher.cc ('k') | base/threading/platform_thread_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698