Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | core: Fix some warnings on OSX | 2015-02-03 | ||
| | ||||
* | Kernel: Stop creating useless Handles during object creation | 2015-02-02 | ||
| | | | | | They're finally unnecessary, and will stop cluttering the application's handle table. | |||
* | Kernel: Make WaitObjects share ownership of Threads waiting on them | 2015-02-02 | ||
| | | | | | | | | | | | | | | | | During normal operation, a thread waiting on an WaitObject and the object hold mutual references to each other for the duration of the wait. If a process is forcefully terminated (The CTR kernel has a SVC to do this, TerminateProcess, though no equivalent exists for threads.) its threads would also be stopped and destroyed, leaving dangling pointers in the WaitObjects. The solution is to simply have the Thread remove itself from WaitObjects when it is stopped. The vector of Threads in WaitObject has also been changed to hold SharedPtrs, just in case. (Better to have a reference cycle than a crash.) | |||
* | Explicitly instantiate constructors/destructors for Kernel objects | 2015-02-02 | ||
| | | | | | | This should speed up compile times a bit, as well as enable more liberal use of forward declarations. (Due to SharedPtr not trying to emit the destructor anymore.) | |||
* | Mutex: Replace g_mutex_held_locks with a set inside Thread | 2015-02-02 | ||
| | ||||
* | Kernel: Fix bug in HandleTable::Close | 2015-02-02 | ||
| | ||||
* | Kernel: Remove Object::GetHandle (it's not used anymore :D) | 2015-02-02 | ||
| | ||||
* | Kernel: Introduce unique Object ids for debugging | 2015-02-02 | ||
| | ||||
* | Kernel: Use separate Handle tables for CoreTiming userdata | 2015-02-02 | ||
| | | | | This is to support the removal of GetHandle soon | |||
* | Kernel: Remove previous scheduled event when a Timer is re-Set | 2015-02-02 | ||
| | ||||
* | Thread: Modernize two functions that slipped through previous rebases | 2015-02-02 | ||
| | ||||
* | arm: Clean up ARMul_State | 2015-01-31 | ||
| | | | | Remove unnecessary/unused struct variables. | |||
* | shared_memory: Fix assignments in SharedMemory::Map | 2015-01-30 | ||
| | ||||
* | Kernel: Mark all appropriate kernel objects as "final" | 2015-01-30 | ||
| | ||||
* | Remove result.h InvalidHandle | 2015-01-30 | ||
| | | | | | It was only being used in two places, where it was replaced by a local constant. | |||
* | Kernel: Convert Event to not use Handles | 2015-01-30 | ||
| | ||||
* | Kernel: Convert Timer to (mostly) not use Handles | 2015-01-30 | ||
| | ||||
* | Kernel: Convert Mutex to not use Handles | 2015-01-30 | ||
| | ||||
* | Kernel: Convert AddressArbiter to not use Handles | 2015-01-30 | ||
| | ||||
* | Kernel: Convert Semaphore to not use Handles | 2015-01-30 | ||
| | ||||
* | Kernel: Convert SharedMemory to not use Handles | 2015-01-30 | ||
| | ||||
* | Move VAddr/PAddr typedefs to kernel.h | 2015-01-30 | ||
| | ||||
* | Kernel: Remove useless/duplicated comments; mark functions static | 2015-01-30 | ||
| | ||||
* | Thread: Fix WaitSynchronization1 to not set register 1 on thread wakeup. | 2015-01-21 | ||
| | ||||
* | Thread: Use std::find in CheckWait_WaitObject. | 2015-01-21 | ||
| | ||||
* | Mutex: Cleanup and remove redundant code. | 2015-01-21 | ||
| | ||||
* | Kernel: Renamed some functions for clarity. | 2015-01-21 | ||
| | | | | | - ReleaseNextThread->WakeupNextThread - ReleaseAllWaitingThreads->WakeupAllWaitingThreads. | |||
* | Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void. | 2015-01-21 | ||
| | ||||
* | WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" ↵ | 2015-01-21 | ||
| | | | | pure virtual. | |||
* | Event: Fix implementation of "non-sticky" events. | 2015-01-21 | ||
| | ||||
* | Session: Change to a WaitObject. | 2015-01-21 | ||
| | ||||
* | Kernel: Reschedule on SignalEvent and SendSyncRequest, fix some bugs. | 2015-01-21 | ||
| | ||||
* | Mutex: Fix a bug where the thread should not wait if it already has the mutex. | 2015-01-21 | ||
| | ||||
* | Kernel: Moved Wait and Acquire to WaitObject, added way to retrieve a ↵ | 2015-01-21 | ||
| | | | | WaitObject safely. | |||
* | AddressArbiter: Changed to Kernel::Object, big cleanup, removed code that ↵ | 2015-01-21 | ||
| | | | | made no sense. | |||
* | Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks. | 2015-01-21 | ||
| | ||||
* | WaitSynchronizationN: Refactor to fix several bugs | 2015-01-21 | ||
| | | | | | | - Separate wait checking from waiting the current thread - Resume thread when wait_all=true only if all objects are available at once - Set output to correct wait object index when there are duplicate handles | |||
* | Kernel: Separate WaitSynchronization into Wait and Acquire methods. | 2015-01-21 | ||
| | ||||
* | WaitSynchronizationN: Implement return values | 2015-01-21 | ||
| | ||||
* | Event: Fixed some bugs and cleanup (Subv) | 2015-01-21 | ||
| | ||||
* | Thread: Keep track of multiple wait objects. | 2015-01-21 | ||
| | ||||
* | Event: Get rid of permanent_lock hack. | 2015-01-21 | ||
| | ||||
* | WaitObject: Added RemoveWaitingThread, fixed a bug, and cleanup. | 2015-01-21 | ||
| | ||||
* | Kernel: Added WaitObject and changed "waitable" objects inherit from it. | 2015-01-21 | ||
| | ||||
* | core: Fix a few docstrings | 2015-01-20 | ||
| | ||||
* | AddrArbiter: Implement arbitration types 3 and 4. | 2015-01-13 | ||
| | ||||
* | Merge pull request #466 from Subv/wake | 2015-01-11 | ||
|\ | | | | | Thread: Prevent waking a thread multiple times. | |||
| * | Thread: Prevent waking a thread multiple times. | 2015-01-11 | ||
| | | | | | | | | If a thread was woken up by something, cancel the wakeup timeout. | |||
* | | Kernel: Start using boost::intrusive_ptr for lifetime management | 2015-01-09 | ||
| | | ||||
* | | Kernel: Don't re-assign object's handle when duplicating one | 2015-01-09 | ||
|/ |