Skip to content
Snippets Groups Projects
  1. Feb 20, 2015
  2. Feb 11, 2015
    • archshift's avatar
      Asserts: break/crash program, fit to style guide; log.h->assert.h · ef24e72b
      archshift authored
      Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time)
      As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing)
      
      Also removed some GEKKO cruft.
      ef24e72b
  3. Feb 10, 2015
    • Kevin Hartman's avatar
      Scheduler refactor Pt. 1 · 5fcbfc06
      Kevin Hartman authored
      * Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid
      for a thread at any given point in the system.
      * Removes dead code from thread.cpp.
      * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation.
      
      Other changes:
      * Fixed comments in arm interfaces.
      * Updated comments in thread.cpp
      * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp.
      * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
      5fcbfc06
  4. Feb 02, 2015
  5. Feb 01, 2015
  6. Jan 22, 2015
  7. Jan 21, 2015
  8. Jan 11, 2015
  9. Jan 09, 2015
  10. Jan 08, 2015
    • Subv's avatar
      SVC: Fixed SleepThread. · dfc44078
      Subv authored
      It will now properly wait the specified number of nanoseconds and then wake up the thread.
      dfc44078
    • Subv's avatar
      Threads: Use a dummy idle thread when no other are ready. · 60a373a7
      Subv authored
      This thread will not actually execute instructions, it will only advance the timing/events and try to yield immediately to the next ready thread, if there aren't any ready threads then it will be rescheduled and start its job again.
      60a373a7
  11. Jan 07, 2015
    • Yuri Kunde Schlesner's avatar
      Common: Clean up ThreadQueueList · 122c2bb3
      Yuri Kunde Schlesner authored
      Replace all the C-style complicated buffer management with a std::deque.
      In addition to making the code easier to understand it also adds support
      for non-POD IdTypes.
      
      Also clean the rest of the code to follow our code style.
      122c2bb3
  12. Dec 28, 2014
  13. Dec 21, 2014
Loading