77 Commits (369f6e58aa30fe48e8b1fc484192bfc5223b9ec5)

Author SHA1 Message Date
Lioncash 369f6e58aa kernel: Remove unused object_address_table.cpp/.h 8 years ago
Lioncash 42b5158c96 mutex: Pass SharedPtr to GetHighestPriorityMutexWaitingThread() by reference 8 years ago
Lioncash dbfe82773d thread: Convert ThreadStatus into an enum class 8 years ago
Michael Scire 7e191dccc1 Kernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs. 8 years ago
Subv fd500d3da6 Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release. 8 years ago
Subv 46572d027d Kernel: Implemented mutex priority inheritance. 8 years ago
Subv 5fdfbfe25a Kernel: Remove old and unused Mutex code. 8 years ago
Subv e81a2080eb Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock. 8 years ago
bunnei 903beb43a8 mutex: Update hasWaiters on release. 8 years ago
bunnei 9fcd2bf672 mutex: Remove unused call to VerifyGuestState. 8 years ago
Subv 1bbe9309da Kernel: Properly keep track of mutex lock data in the guest memory. This fixes userland locking/unlocking. 8 years ago
bunnei b9950cd4b0 svc: Implement svcLockMutex. 8 years ago
Huw Pascoe a13ab958cb Fixed type conversion ambiguity 8 years ago
Subv d3ff5b91e1 Kernel/Mutex: Propagate thread priority changes to other threads inheriting the priority via mutexes 9 years ago
Subv b6a0355568 Kernel/Mutex: Update a mutex priority when a thread stops waiting on it. 9 years ago
Subv 7abf185390 Kernel/Mutex: Implemented priority inheritance. 9 years ago
Subv e6a7723f2f Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter. 9 years ago
Subv 38a90882a4 Kernel/Synch: Do not attempt a reschedule on every syscall. 9 years ago
Yuri Kunde Schlesner 84fbbe2629 Use negative priorities to avoid special-casing the self-include 9 years ago
Emmanuel Gil Peyrot ebdae19fd2 Remove empty newlines in #include blocks. 9 years ago
Yuri Kunde Schlesner 396a8d91a4 Manually tweak source formatting and then re-run clang-format 9 years ago
Emmanuel Gil Peyrot dc8479928c Sources: Run clang-format on everything. 9 years ago
bunnei 71e8822d23 kernel: Fix svcWaitSynch to always acquire requested wait objects. 11 years ago
bunnei 0b7d2941cf Kernel: Move reschedules from SVCs to actual mechanisms that reschedule. 11 years ago
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 11 years ago
bunnei 9c3419ebcc Kernel: Implemented priority inheritance for mutexes. 11 years ago
archshift ef24e72b26 Asserts: break/crash program, fit to style guide; log.h->assert.h 11 years ago
bunnei 1b0bf00cbc Mutex: Locks should be recursive. 11 years ago
Yuri Kunde Schlesner 88a4a808c6 Kernel: Stop creating useless Handles during object creation 11 years ago
Yuri Kunde Schlesner 52f58e64ef Kernel: Make WaitObjects share ownership of Threads waiting on them 11 years ago
Yuri Kunde Schlesner 7725256f64 Explicitly instantiate constructors/destructors for Kernel objects 11 years ago
Yuri Kunde Schlesner 4e84df8be3 Mutex: Replace g_mutex_held_locks with a set inside Thread 11 years ago
Yuri Kunde Schlesner 882b6fed75 Kernel: Convert Mutex to not use Handles 11 years ago
Yuri Kunde Schlesner 9a345de2bd Kernel: Remove useless/duplicated comments; mark functions static 11 years ago
bunnei 2f3020a102 Mutex: Cleanup and remove redundant code. 11 years ago
bunnei f09806aed2 Kernel: Renamed some functions for clarity. 11 years ago
bunnei 15b6a4d9ad Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void. 11 years ago
bunnei c68eb15695 WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual. 11 years ago
bunnei dde02f79af Mutex: Fix a bug where the thread should not wait if it already has the mutex. 11 years ago
bunnei e5a9f1c644 Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks. 11 years ago
bunnei 6643673f28 WaitSynchronizationN: Refactor to fix several bugs 11 years ago
bunnei aa01c57ae9 Kernel: Separate WaitSynchronization into Wait and Acquire methods. 11 years ago
bunnei 7faf2d8e06 WaitSynchronizationN: Implement return values 11 years ago
bunnei c22bac6398 Kernel: Added WaitObject and changed "waitable" objects inherit from it. 11 years ago
Yuri Kunde Schlesner 8ad41775cc Kernel: Start using boost::intrusive_ptr for lifetime management 11 years ago
Yuri Kunde Schlesner 9bf8462b96 Thread: Reduce use of Handles and move some funcs to inside the class. 11 years ago
Subv ea80363cc2 Mutex: Add the calling thread to the waiting list when needed 11 years ago
Yuri Kunde Schlesner 7e2903cb74 Kernel: New handle manager 11 years ago
Yuri Kunde Schlesner 23f2142009 Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants 11 years ago
Yuri Kunde Schlesner 73fba22c01 Rename ObjectPool to HandleTable 11 years ago