summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/semaphore.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-30Kernel: Convert Semaphore to not use HandlesYuri Kunde Schlesner1-43/+22
2015-01-22Kernel: Renamed some functions for clarity.bunnei1-1/+1
- ReleaseNextThread->WakeupNextThread - ReleaseAllWaitingThreads->WakeupAllWaitingThreads.
2015-01-22Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.bunnei1-21/+7
2015-01-22WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual.bunnei1-1/+1
2015-01-22Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks.bunnei1-9/+2
2015-01-22WaitSynchronizationN: Refactor to fix several bugsbunnei1-3/+3
- 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
2015-01-22Kernel: Separate WaitSynchronization into Wait and Acquire methods.bunnei1-3/+12
2015-01-22WaitSynchronizationN: Implement return valuesbunnei1-3/+3
2015-01-22Kernel: Added WaitObject and changed "waitable" objects inherit from it.bunnei1-8/+3
2015-01-09Kernel: Start using boost::intrusive_ptr for lifetime managementYuri Kunde Schlesner1-2/+2
2015-01-09Thread: Reduce use of Handles and move some funcs to inside the class.Yuri Kunde Schlesner1-3/+5
2014-12-28Kernel: New handle managerYuri Kunde Schlesner1-1/+2
This handle manager more closely mirrors the behaviour of the CTR-OS one. In addition object ref-counts and support for DuplicateHandle have been added. Note that support for DuplicateHandle is still experimental, since parts of the kernel still use Handles internally, which will likely cause troubles if two different handles to the same object are used to e.g. wait on a synchronization primitive.
2014-12-28Kernel: Replace GetStaticHandleType by HANDLE_TYPE constantsYuri Kunde Schlesner1-2/+2
2014-12-28Rename ObjectPool to HandleTableYuri Kunde Schlesner1-2/+2
2014-12-21License changepurpasmart961-1/+1
2014-12-20Clean up some warningsChin1-4/+4
2014-12-13Kernel/Semaphore: Small style changeSubv1-1/+1
2014-12-13Kernel/Semaphores: Invert the available count checking.Subv1-11/+9
Same semantics, idea by @yuriks
2014-12-13Kernel/Semaphores: Addressed some issues.Subv1-28/+13
2014-12-13Semaphore: Removed an unneeded functionSubv1-5/+0
2014-12-13Semaphores: Addressed some style issuesSubv1-6/+5
2014-12-13Semaphore: Implemented the initial_count parameter.Subv1-3/+5
2014-12-13SVC: Implemented ReleaseSemaphore.Subv1-13/+52
This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
2014-12-13SVC: Implemented svcCreateSemaphoreSubv1-0/+76
ToDo: Implement svcReleaseSemaphore * Some testing against hardware needed