aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/kernel/semaphore.cpp
Commit message (Collapse)AuthorAge
* kernel: Fix svcWaitSynch to always acquire requested wait objects.Gravatar bunnei2015-06-16
|
* Remove every trailing whitespace from the project (but externals).Gravatar Emmanuel Gil Peyrot2015-05-29
|
* Kernel: Move reschedules from SVCs to actual mechanisms that reschedule.Gravatar bunnei2015-05-20
|
* Common: Remove common.hGravatar Yuri Kunde Schlesner2015-05-07
|
* Asserts: break/crash program, fit to style guide; log.h->assert.hGravatar archshift2015-02-10
| | | | | | | Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
* Kernel: Stop creating useless Handles during object creationGravatar Yuri Kunde Schlesner2015-02-02
| | | | | They're finally unnecessary, and will stop cluttering the application's handle table.
* Explicitly instantiate constructors/destructors for Kernel objectsGravatar Yuri Kunde Schlesner2015-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.)
* Kernel: Convert Semaphore to not use HandlesGravatar Yuri Kunde Schlesner2015-01-30
|
* Kernel: Renamed some functions for clarity.Gravatar bunnei2015-01-21
| | | | | - ReleaseNextThread->WakeupNextThread - ReleaseAllWaitingThreads->WakeupAllWaitingThreads.
* Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.Gravatar bunnei2015-01-21
|
* WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" ↵Gravatar bunnei2015-01-21
| | | | pure virtual.
* Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks.Gravatar bunnei2015-01-21
|
* WaitSynchronizationN: Refactor to fix several bugsGravatar bunnei2015-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.Gravatar bunnei2015-01-21
|
* WaitSynchronizationN: Implement return valuesGravatar bunnei2015-01-21
|
* Kernel: Added WaitObject and changed "waitable" objects inherit from it.Gravatar bunnei2015-01-21
|
* Kernel: Start using boost::intrusive_ptr for lifetime managementGravatar Yuri Kunde Schlesner2015-01-09
|
* Thread: Reduce use of Handles and move some funcs to inside the class.Gravatar Yuri Kunde Schlesner2015-01-09
|
* Kernel: New handle managerGravatar Yuri Kunde Schlesner2014-12-28
| | | | | | | | | | | 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 constantsGravatar Yuri Kunde Schlesner2014-12-28
|
* Rename ObjectPool to HandleTableGravatar Yuri Kunde Schlesner2014-12-28
|
* Merge pull request #291 from purpasmart96/licenseGravatar bunnei2014-12-21
|\ | | | | License change
| * License changeGravatar purpasmart962014-12-20
| |
* | Clean up some warningsGravatar Chin2014-12-20
|/
* Kernel/Semaphore: Small style changeGravatar Subv2014-12-13
|
* Kernel/Semaphores: Invert the available count checking.Gravatar Subv2014-12-13
| | | | Same semantics, idea by @yuriks
* Kernel/Semaphores: Addressed some issues.Gravatar Subv2014-12-13
|
* Semaphore: Removed an unneeded functionGravatar Subv2014-12-13
|
* Semaphores: Addressed some style issuesGravatar Subv2014-12-13
|
* Semaphore: Implemented the initial_count parameter.Gravatar Subv2014-12-13
|
* SVC: Implemented ReleaseSemaphore.Gravatar Subv2014-12-13
| | | | This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
* SVC: Implemented svcCreateSemaphoreGravatar Subv2014-12-13
ToDo: Implement svcReleaseSemaphore * Some testing against hardware needed