100 Commits (5fcbfc06eb247c0a4c1db201ac9050d80d4e4020)

Author SHA1 Message Date
Kevin Hartman 5fcbfc06eb Scheduler refactor Pt. 1 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 869ec46683 Kernel: Introduce unique Object ids for debugging 11 years ago
Yuri Kunde Schlesner a9b86db3cf Kernel: Use separate Handle tables for CoreTiming userdata 11 years ago
Yuri Kunde Schlesner 664c79ff47 Thread: Modernize two functions that slipped through previous rebases 11 years ago
Lioncash 3f00dd9117 arm: Clean up ARMul_State 11 years ago
bunnei 68ddaaa2f5 Thread: Fix WaitSynchronization1 to not set register 1 on thread wakeup. 11 years ago
bunnei 4255f25647 Thread: Use std::find in CheckWait_WaitObject. 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 9412996c8f Kernel: Moved Wait and Acquire to WaitObject, added way to retrieve a WaitObject safely. 11 years ago
bunnei 254e4ebd58 AddressArbiter: Changed to Kernel::Object, big cleanup, removed code that made no sense. 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 1f7a04f05a Thread: Keep track of multiple wait objects. 11 years ago
bunnei c22bac6398 Kernel: Added WaitObject and changed "waitable" objects inherit from it. 11 years ago
Subv b68d51ed30 Thread: Prevent waking a thread multiple times. 11 years ago
Yuri Kunde Schlesner 8ad41775cc Kernel: Start using boost::intrusive_ptr for lifetime management 11 years ago
Yuri Kunde Schlesner 78ea76e12f Thread: Fix nullptr access in a logging function 11 years ago
Yuri Kunde Schlesner 7f1557fbbd Thread: Rename thread_queue => thread_list 11 years ago
Yuri Kunde Schlesner 9bf8462b96 Thread: Reduce use of Handles and move some funcs to inside the class. 11 years ago
Yuri Kunde Schlesner ba72208cd4 Kernel: Move Thread's definition to the header file 11 years ago
Yuri Kunde Schlesner 7b3452c730 Move ThreadContext to core/core.h and deal with the fallout 11 years ago
Subv dfc440785a SVC: Fixed SleepThread. 11 years ago
Subv 60a373a786 Threads: Use a dummy idle thread when no other are ready. 11 years ago
Yuri Kunde Schlesner 122c2bb324 Common: Clean up ThreadQueueList 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
bunnei 4fcdbed9f6 Thread: Wait current thread on svc_SleepThread 11 years ago
Yuri Kunde Schlesner adee775f44 Kernel: Implement support for current thread pseudo-handle 11 years ago
Yuri Kunde Schlesner 0600e2d8b5 Convert old logging calls to new logging macros 11 years ago
bunnei dd203f7068 Thread: Fixed to wait on address when in arbitration. 11 years ago
Subv 64128aa61a Mutex: Release all held mutexes when a thread exits. 11 years ago
Subv 6fac2bf0ab Threads: Remove a redundant function. 11 years ago
Subv ef1d5cda06 Threads: Implemented a sequential thread id 11 years ago
Subv 029ff9f1fd SVC: Implemented GetThreadId. 11 years ago
bunnei de851ba1a1 Thread: Check that thread is actually in "wait state" when verifying wait. 11 years ago
Yuri Kunde Schlesner 8189593255 Use pointers instead of passing handles around in some functions. 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