45 Commits (4e84df8be30c5bac65e4c4e9faf07bf0fc3fb33a)

Author SHA1 Message Date
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
Yuri Kunde Schlesner d72708c1f5 Add `override` keyword through the code. 11 years ago
Lioncash 98fa3f7cba Core: Alter the kernel string functions to use std::string instead of const char*. 12 years ago
bunnei 7a1f813be1 Kernel: Updated Event and Mutex to specify handle that they are blocking for. 12 years ago
bunnei c95972275e HLE: Updated all uses of NULL to nullptr (to be C++11 compliant) 12 years ago
bunnei 5365ca157d Kernel: Updated various kernel function "name" arguments to be const references. 12 years ago
bunnei d7363322c7 HLE: Updated various handle debug assertions to be more clear. 12 years ago
bunnei 780a443b08 Mutex: Moved ReleaseMutex iterator declaration to be inside while loop. 12 years ago
bunnei 8cac527c94 Kernel: Updated several member functions to be const 12 years ago
bunnei f5c7c15434 Kernel: Added real support for thread and event blocking 12 years ago
bunnei b78aff8585 svc: added optional name field to Event and Mutex (used for debugging) 12 years ago
bunnei d8a2c8c657 mutex: fixed typo in ReleaseMutex 12 years ago
bunnei 2ed6652f10 mutex: added preliminary SyncRequest/WaitSynchronization, added some comments/assertions 12 years ago
bunnei a432dc8f39 kernel: added WaitSynchronization method to Kernel::Object 12 years ago
bunnei 58a3adcdd2 kernel: updated SyncRequest to take boolean thread wait result as a parameter 12 years ago
bunnei d73d782ba7 kernel: add a SyncRequest method to KernelObject for use with svcSendSyncRequest 12 years ago
bunnei d26f3d4c1f kernel: refactored function naming to remove "__" prefix 12 years ago
bunnei eb537c560a mutex: refactored the interface to code to return a Mutex* handle 12 years ago
bunnei 978e1d4653 mutex: initial commit of HLE module 12 years ago