FallbackThreadPriority.cpp 763 B

123456789101112131415161718192021222324252627282930
  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. #include "Hal.h"
  5. #include "HalLog.h"
  6. using namespace mozilla::hal;
  7. namespace mozilla {
  8. namespace hal_impl {
  9. void
  10. SetCurrentThreadPriority(ThreadPriority aPriority)
  11. {
  12. HAL_LOG("FallbackThreadPriority - SetCurrentThreadPriority(%d)\n",
  13. ThreadPriorityToString(aPriority));
  14. }
  15. void
  16. SetThreadPriority(PlatformThreadId aThreadId,
  17. ThreadPriority aPriority)
  18. {
  19. HAL_LOG("FallbackThreadPriority - SetThreadPriority(%d, %d)\n",
  20. aThreadId, ThreadPriorityToString(aPriority));
  21. }
  22. } // namespace hal_impl
  23. } // namespace mozilla