Line data Source code
1 : /* This Source Code Form is subject to the terms of the Mozilla Public
2 : * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 : * You can obtain one at http://mozilla.org/MPL/2.0/. */
4 :
5 : #include "Hal.h"
6 : #include "HalLog.h"
7 :
8 : using namespace mozilla::hal;
9 :
10 : namespace mozilla {
11 : namespace hal_impl {
12 :
13 : void
14 1 : SetCurrentThreadPriority(ThreadPriority aPriority)
15 : {
16 1 : HAL_LOG("FallbackThreadPriority - SetCurrentThreadPriority(%s)\n",
17 : ThreadPriorityToString(aPriority));
18 1 : }
19 :
20 : void
21 0 : SetThreadPriority(PlatformThreadId aThreadId,
22 : ThreadPriority aPriority)
23 : {
24 0 : HAL_LOG("FallbackThreadPriority - SetThreadPriority(%d, %s)\n",
25 : aThreadId, ThreadPriorityToString(aPriority));
26 0 : }
27 :
28 : } // namespace hal_impl
29 : } // namespace mozilla
|