2014-05-05 15:37:00 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#include "Hal.h"
|
2014-09-24 13:23:18 +00:00
|
|
|
#include "HalLog.h"
|
2014-05-05 15:37:00 +00:00
|
|
|
|
|
|
|
using namespace mozilla::hal;
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace hal_impl {
|
|
|
|
|
|
|
|
void
|
|
|
|
SetCurrentThreadPriority(ThreadPriority aPriority)
|
|
|
|
{
|
2014-09-24 13:23:18 +00:00
|
|
|
HAL_LOG("FallbackThreadPriority - SetCurrentThreadPriority(%d)\n",
|
|
|
|
ThreadPriorityToString(aPriority));
|
2014-05-05 15:37:00 +00:00
|
|
|
}
|
|
|
|
|
2015-05-07 13:53:47 +00:00
|
|
|
void
|
|
|
|
SetThreadPriority(PlatformThreadId aThreadId,
|
|
|
|
ThreadPriority aPriority)
|
|
|
|
{
|
|
|
|
HAL_LOG("FallbackThreadPriority - SetThreadPriority(%d, %d)\n",
|
|
|
|
aThreadId, ThreadPriorityToString(aPriority));
|
|
|
|
}
|
|
|
|
|
2015-07-13 15:25:42 +00:00
|
|
|
} // namespace hal_impl
|
2014-05-05 15:37:00 +00:00
|
|
|
} // namespace mozilla
|