summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/mutex.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2019-03-15core/hle/kernel/mutex: Remove usages of global system accessorsLioncash1-11/+15
2019-03-15core/hle/kernel: Make Mutex a per-process class.Lioncash1-2/+7
2018-10-30general: Remove unused boost inclusions where applicableLioncash1-2/+0
2018-10-06kernel/mutex: Amend behavior of TransferMutexOwnership()Lioncash1-1/+1
2018-10-04kernel/thread: Make all instance variables privateLioncash1-17/+17
2018-09-21arm_interface: Replace kernel vm_manager include with a forward declarationLioncash1-0/+1
2018-09-18kernel/mutex: Replace ResultCode construction for invalid addresses with the named variantLioncash1-2/+2
2018-08-29kernel: Eliminate kernel global stateLioncash1-3/+3
2018-08-02kernel: Move object class to its own source filesLioncash1-1/+1
2018-07-31kernel: Remove unused object_address_table.cpp/.hLioncash1-1/+0
2018-07-31kernel: Remove unnecessary includesLioncash1-0/+4
2018-07-24mutex: Pass SharedPtr to GetHighestPriorityMutexWaitingThread() by referenceLioncash1-1/+1
2018-07-20thread: Convert ThreadStatus into an enum classLioncash1-3/+3
2018-06-21Kernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs.Michael Scire1-2/+2
2018-05-20Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release.Subv1-1/+0
2018-04-23Kernel: Implemented mutex priority inheritance.Subv1-8/+31
2018-04-21Kernel: Remove old and unused Mutex code.Subv1-120/+0
2018-04-21Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock.Subv1-0/+94
2018-02-06mutex: Update hasWaiters on release.bunnei1-0/+1
2018-01-09mutex: Remove unused call to VerifyGuestState.bunnei1-3/+0
2018-01-09Kernel: Properly keep track of mutex lock data in the guest memory. This fixes userland locking/unlocking.Subv1-54/+43
2018-01-01svc: Implement svcLockMutex.bunnei1-18/+63
2017-09-30Fixed type conversion ambiguityHuw Pascoe1-1/+1
2017-01-04Kernel/Mutex: Propagate thread priority changes to other threads inheriting the priority via mutexesSubv1-38/+22
2017-01-04Kernel/Mutex: Update a mutex priority when a thread stops waiting on it.Subv1-13/+22
2017-01-04Kernel/Mutex: Implemented priority inheritance.Subv1-13/+45
2017-01-04Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.Subv1-18/+6
2017-01-04Kernel/Synch: Do not attempt a reschedule on every syscall.Subv1-0/+1
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-4/+1
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner1-4/+2
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-2/+4
2015-06-17kernel: Fix svcWaitSynch to always acquire requested wait objects.bunnei1-8/+1
2015-05-21Kernel: Move reschedules from SVCs to actual mechanisms that reschedule.bunnei1-0/+2
2015-05-07Common: Remove common.hYuri Kunde Schlesner1-1/+1
2015-04-10Kernel: Implemented priority inheritance for mutexes.bunnei1-1/+9
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift1-1/+1
2015-02-10Mutex: Locks should be recursive.bunnei1-14/+19
2015-02-02Kernel: Stop creating useless Handles during object creationYuri Kunde Schlesner1-4/+2
2015-02-02Kernel: Make WaitObjects share ownership of Threads waiting on themYuri Kunde Schlesner1-2/+2
2015-02-02Explicitly instantiate constructors/destructors for Kernel objectsYuri Kunde Schlesner1-0/+3
2015-02-02Mutex: Replace g_mutex_held_locks with a set inside ThreadYuri Kunde Schlesner1-21/+7
2015-01-30Kernel: Convert Mutex to not use HandlesYuri Kunde Schlesner1-88/+43
2015-01-30Kernel: Remove useless/duplicated comments; mark functions staticYuri Kunde Schlesner1-14/+4
2015-01-22Mutex: Cleanup and remove redundant code.bunnei1-45/+27
2015-01-22Kernel: Renamed some functions for clarity.bunnei1-1/+1
2015-01-22Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.bunnei1-15/+9
2015-01-22WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual.bunnei1-2/+2
2015-01-22Mutex: Fix a bug where the thread should not wait if it already has the mutex.bunnei1-1/+4
2015-01-22Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks.bunnei1-7/+2
2015-01-22WaitSynchronizationN: Refactor to fix several bugsbunnei1-4/+4
2015-01-22Kernel: Separate WaitSynchronization into Wait and Acquire methods.bunnei1-5/+14
2015-01-22WaitSynchronizationN: Implement return valuesbunnei1-4/+4
2015-01-22Kernel: Added WaitObject and changed "waitable" objects inherit from it.bunnei1-23/+6
2015-01-09Kernel: Start using boost::intrusive_ptr for lifetime managementYuri Kunde Schlesner1-3/+3
2015-01-09Thread: Reduce use of Handles and move some funcs to inside the class.Yuri Kunde Schlesner1-6/+13
2015-01-04Mutex: Add the calling thread to the waiting list when neededSubv1-2/+2
2014-12-28Kernel: New handle managerYuri Kunde Schlesner1-2/+3
2014-12-28Kernel: Replace GetStaticHandleType by HANDLE_TYPE constantsYuri Kunde Schlesner1-2/+2
2014-12-28Rename ObjectPool to HandleTableYuri Kunde Schlesner1-3/+3
2014-12-21License changepurpasmart961-1/+1
2014-12-07Mutex: Remove some forward declarationsSubv1-16/+15
2014-12-07Mutex: Release all held mutexes when a thread exits.Subv1-22/+46
2014-12-06Mutex: Properly lock the mutex when a thread enters itSubv1-12/+9
2014-11-26Mutex: Changed behavior to always release mutex for all threads.bunnei1-8/+7
2014-11-24Remove duplicated docs/update them for changed parameters.Yuri Kunde Schlesner1-10/+0
2014-11-24HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner1-12/+13
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot1-2/+2
2014-10-26Add `override` keyword through the code.Yuri Kunde Schlesner1-5/+5
2014-08-18Core: Alter the kernel string functions to use std::string instead of const char*.Lioncash1-2/+2
2014-08-06Kernel: Updated Event and Mutex to specify handle that they are blocking for.bunnei1-1/+1
2014-06-13HLE: Updated all uses of NULL to nullptr (to be C++11 compliant)bunnei1-1/+1
2014-06-13Kernel: Updated various kernel function "name" arguments to be const references.bunnei1-2/+2
2014-06-13HLE: Updated various handle debug assertions to be more clear.bunnei1-1/+1
2014-06-13Mutex: Moved ReleaseMutex iterator declaration to be inside while loop.bunnei1-2/+1
2014-06-13Kernel: Updated several member functions to be constbunnei1-3/+3
2014-06-13Kernel: Added real support for thread and event blockingbunnei1-0/+5
2014-06-03svc: added optional name field to Event and Mutex (used for debugging)bunnei1-3/+9
2014-05-30mutex: fixed typo in ReleaseMutexbunnei1-1/+3
2014-05-28mutex: added preliminary SyncRequest/WaitSynchronization, added some comments/assertionsbunnei1-0/+6
2014-05-27kernel: added WaitSynchronization method to Kernel::Objectbunnei1-0/+11
2014-05-27kernel: updated SyncRequest to take boolean thread wait result as a parameterbunnei1-2/+6
2014-05-27kernel: add a SyncRequest method to KernelObject for use with svcSendSyncRequestbunnei1-0/+5
2014-05-23kernel: refactored function naming to remove "__" prefixbunnei1-14/+14
2014-05-21mutex: refactored the interface to code to return a Mutex* handlebunnei1-2/+12
2014-05-21mutex: initial commit of HLE modulebunnei1-0/+122