summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/semaphore.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Kernel: Convert Semaphore to not use HandlesYuri Kunde Schlesner2015-01-301-43/+22
|
* Kernel: Renamed some functions for clarity.bunnei2015-01-221-1/+1
| | | | | - ReleaseNextThread->WakeupNextThread - ReleaseAllWaitingThreads->WakeupAllWaitingThreads.
* Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.bunnei2015-01-221-21/+7
|
* WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual.bunnei2015-01-221-1/+1
|
* Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks.bunnei2015-01-221-9/+2
|
* WaitSynchronizationN: Refactor to fix several bugsbunnei2015-01-221-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
* Kernel: Separate WaitSynchronization into Wait and Acquire methods.bunnei2015-01-221-3/+12
|
* WaitSynchronizationN: Implement return valuesbunnei2015-01-221-3/+3
|
* Kernel: Added WaitObject and changed "waitable" objects inherit from it.bunnei2015-01-221-8/+3
|
* Kernel: Start using boost::intrusive_ptr for lifetime managementYuri Kunde Schlesner2015-01-091-2/+2
|
* Thread: Reduce use of Handles and move some funcs to inside the class.Yuri Kunde Schlesner2015-01-091-3/+5
|
* Kernel: New handle managerYuri Kunde Schlesner2014-12-281-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.
* Kernel: Replace GetStaticHandleType by HANDLE_TYPE constantsYuri Kunde Schlesner2014-12-281-2/+2
|
* Rename ObjectPool to HandleTableYuri Kunde Schlesner2014-12-281-2/+2
|
* Merge pull request #291 from purpasmart96/licensebunnei2014-12-211-1/+1
|\ | | | | License change
| * License changepurpasmart962014-12-211-1/+1
| |
* | Clean up some warningsChin2014-12-201-4/+4
|/
* Kernel/Semaphore: Small style changeSubv2014-12-131-1/+1
|
* Kernel/Semaphores: Invert the available count checking.Subv2014-12-131-11/+9
| | | | Same semantics, idea by @yuriks
* Kernel/Semaphores: Addressed some issues.Subv2014-12-131-28/+13
|
* Semaphore: Removed an unneeded functionSubv2014-12-131-5/+0
|
* Semaphores: Addressed some style issuesSubv2014-12-131-6/+5
|
* Semaphore: Implemented the initial_count parameter.Subv2014-12-131-3/+5
|
* SVC: Implemented ReleaseSemaphore.Subv2014-12-131-13/+52
| | | | This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
* SVC: Implemented svcCreateSemaphoreSubv2014-12-131-0/+76
ToDo: Implement svcReleaseSemaphore * Some testing against hardware needed