1. 22 Nov, 2018 3 commits
    • Lioncash's avatar
      common/thread: Group non-member functions together · 02602afd
      Lioncash authored
      Keeps the non-member interface in one spot instead of split into two
      places, making it nicer to locate functions.
      02602afd
    • Lioncash's avatar
      common/thread: Remove SleepCurrentThread() · d6583d68
      Lioncash authored
      This is also unused and superceded by standard functionality. The
      standard library provides std::this_thread::sleep_for(), which provides
      a much more flexible interface, as different time units can be used with
      it.
      d6583d68
    • Lioncash's avatar
      common/thread: Remove unused CurrentThreadId() · 1d555fdd
      Lioncash authored
      This is an old function that's no longer necessary. C++11 introduced
      proper threading support to the language and a thread ID can be
      retrieved via std::this_thread::get_id() if it's ever needed.
      1d555fdd
  2. 21 Nov, 2018 23 commits
  3. 20 Nov, 2018 10 commits
  4. 19 Nov, 2018 4 commits
    • Lioncash's avatar
      kernel/resource_limit: Clean up interface · 5d46038c
      Lioncash authored
      Cleans out the citra/3DS-specific implementation details that don't
      apply to the Switch. Sets the stage for implementing ResourceLimit
      instances properly.
      
      While we're at it, remove the erroneous checks within CreateThread() and
      SetThreadPriority(). While these are indeed checked in some capacity,
      they are not checked via a ResourceLimit instance.
      
      In the process of moving out Citra-specifics, this also replaces the
      system ResourceLimit instance's values with ones from the Switch.
      5d46038c
    • Lioncash's avatar
      lm: Implement SetDestination by doing nothing · 34e4aadd
      Lioncash authored
      This service function was likely intended to be a way to redirect where
      the output of a log went. e.g. Firing a log over a network, dumping over
      a tunneling session, etc.
      
      Given we always want to see the log and not change its output. It's one
      of the lucky service functions where the easiest implementation is to
      just do nothing at all and return success.
      34e4aadd
    • Zach Hilman's avatar
      a9fa890f
    • Zach Hilman's avatar