69 Commits (41042e7b81b8076b3f7f48459c956fed38c18401)

Author SHA1 Message Date
bunnei 41042e7b81 mutex: Update hasWaiters on release. 8 years ago
bunnei a689a33995 mutex: Remove unused call to VerifyGuestState. 8 years ago
Subv 2ca36ac394 Kernel: Properly keep track of mutex lock data in the guest memory. This fixes userland locking/unlocking. 8 years ago
bunnei 16c66e09cc svc: Implement svcLockMutex. 8 years ago
Huw Pascoe da1c8d1522 Fixed type conversion ambiguity 8 years ago
Subv 8503e56689 Kernel/Mutex: Propagate thread priority changes to other threads inheriting the priority via mutexes 9 years ago
Subv d33885b60b Kernel/Mutex: Update a mutex priority when a thread stops waiting on it. 9 years ago
Subv 4e6369d41d Kernel/Mutex: Implemented priority inheritance. 9 years ago
Subv 90570c153b Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter. 9 years ago
Subv a1718862e3 Kernel/Synch: Do not attempt a reschedule on every syscall. 9 years ago
Yuri Kunde Schlesner fa5d9d8266 Use negative priorities to avoid special-casing the self-include 9 years ago
Emmanuel Gil Peyrot 1138ec0d49 Remove empty newlines in #include blocks. 9 years ago
Yuri Kunde Schlesner 1e4a5da9f4 Manually tweak source formatting and then re-run clang-format 9 years ago
Emmanuel Gil Peyrot 628ed4376a 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
purpasmart96 ebfd831ccb License change 11 years ago
Subv bc318c464b Mutex: Remove some forward declarations 11 years ago
Subv 64128aa61a Mutex: Release all held mutexes when a thread exits. 11 years ago
Subv e3c8e4901c Mutex: Properly lock the mutex when a thread enters it 11 years ago
bunnei a449e0e11a Mutex: Changed behavior to always release mutex for all threads. 11 years ago
Yuri Kunde Schlesner 22c86824a4 Remove duplicated docs/update them for changed parameters. 11 years ago
Yuri Kunde Schlesner c2588403c0 HLE: Revamp error handling throrough the HLE code 11 years ago
Emmanuel Gil Peyrot f5d38649c7 Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated 11 years ago