Commit Graph

14 Commits (29c242721a420c75e181f5a1ac583da14e9af769)

Author SHA1 Message Date
Zach Hilman 820d81b9a5 scheduler: Add explanations for YieldWith and WithoutLoadBalancing
Zach Hilman 409dcf0e0a svc: Implement yield types 0 and -1
Lioncash 11470f331a thread_queue_list: Make contains() and get_first() const member functions
These don't directly modify the contained data.
Lioncash 55c73e10a7 thread_queue_list: Convert typedef to a type alias
James Rowe 096be16636 Format: Run the new clang format on everything
Emmanuel Gil Peyrot ebdae19fd2 Remove empty newlines in #include blocks.
This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
Emmanuel Gil Peyrot dc8479928c Sources: Run clang-format on everything.
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h
bunnei 7b9f428b23 Thread: Implement priority boost for starved threads.
SVC: Return correct error code on invalid CreateThread processor ID.

SVC: Assert when creating a thread with an invalid userland priority.
Yuri Kunde Schlesner 122c2bb324 Common: Clean up ThreadQueueList
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.
purpasmart96 ebfd831ccb License change
Rohit Nirmal 8a62423970 Change NULLs to nullptrs.
Emmanuel Gil Peyrot f5d38649c7 Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated
bunnei cf2eb8e3d3 added ThreadQueueList class to common (taken from PPSSPP)