hal/fallback/FallbackThreadPriority.cpp
author Gijs Kruitbosch <gijskruitbosch@gmail.com>
Wed, 31 May 2017 14:15:18 +0100
changeset 410456 4f3980aa447fda41b2b082195b5addd1417733cf
parent 390184 495b8a307555744c3b8320098a4e526b9bc6404e
permissions -rw-r--r--
Bug 1359137 - fix BrowserUITelemetry's reliance on the default state of things in CustomizableUI, r=mikedeboer MozReview-Commit-ID: I4mpVR6G8pi

/* 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"
#include "HalLog.h"

using namespace mozilla::hal;

namespace mozilla {
namespace hal_impl {

void
SetCurrentThreadPriority(ThreadPriority aPriority)
{
  HAL_LOG("FallbackThreadPriority - SetCurrentThreadPriority(%s)\n",
          ThreadPriorityToString(aPriority));
}

void
SetThreadPriority(PlatformThreadId aThreadId,
                  ThreadPriority aPriority)
{
  HAL_LOG("FallbackThreadPriority - SetThreadPriority(%d, %s)\n",
          aThreadId, ThreadPriorityToString(aPriority));
}

} // namespace hal_impl
} // namespace mozilla