blob: 314668d7a326f2e05a9c7d9f3ae40c6d1bba8ca7 [file] [log] [blame]
Elliott Hughes8daa0922011-09-11 13:46:25 -07001/*
2 * Copyright (C) 2011 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include "thread.h"
18
19namespace art {
20
Elliott Hughes1bac54f2012-03-16 12:48:31 -070021void Thread::DumpNativeStack(std::ostream&) const {
Elliott Hughesffb465f2012-03-01 18:46:05 -080022 // TODO: use glibc backtrace(3).
23}
24
Elliott Hughes8daa0922011-09-11 13:46:25 -070025void Thread::SetNativePriority(int) {
26 // Do nothing.
27}
28
29int Thread::GetNativePriority() {
Elliott Hughes34e06962012-04-09 13:55:55 -070030 return kNormThreadPriority;
Elliott Hughes8daa0922011-09-11 13:46:25 -070031}
32
33} // namespace art