summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/semaphore.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-09kernel: Rename Semaphore to ConditionVariable.bunnei1-66/+0
2018-01-09Kernel: Actually wake up the requested number of threads in Semaphore::Release.Subv1-5/+4
Also properly keep track of data in guest memory, this fixes managing the semaphore from userland. It was found that Semaphores are actually Condition Variables, with Release(1) and Release(-1) being equivalent to notify_one and notify_all. We should change the name of the class to reflect this.
2018-01-07semaphore: More changes for Switch.bunnei1-4/+4
2018-01-06semaphore: Updates for Switch.bunnei1-7/+14
2017-05-30Kernel: Move HandleTable to a separate fileYuri Kunde Schlesner1-0/+1
2017-05-30Kernel: Move WaitObject to a separate fileYuri Kunde Schlesner1-0/+1
Now that HandleTable doesn't directly depend on WaitObject anymore, this can be separated from the main kernel.h header.
2017-01-04Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.Subv1-2/+2
This will be useful when implementing mutex priority inheritance.
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-2/+0
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-7/+13
2015-09-10General: Fix up doxygen commentsLioncash1-1/+0
2015-02-02Explicitly instantiate constructors/destructors for Kernel objectsYuri Kunde Schlesner1-1/+2
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.)
2015-01-30Kernel: Mark all appropriate kernel objects as "final"Yuri Kunde Schlesner1-1/+1
2015-01-30Kernel: Convert Semaphore to not use HandlesYuri Kunde Schlesner1-18/+39
2014-12-21License changepurpasmart961-1/+1
2014-12-20Clean up some warningsChin1-1/+1
2014-12-13Kernel/Semaphores: Addressed some issues.Subv1-4/+5
2014-12-13Semaphore: Implemented the initial_count parameter.Subv1-2/+2
2014-12-13SVC: Implemented ReleaseSemaphore.Subv1-3/+12
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/+22
ToDo: Implement svcReleaseSemaphore * Some testing against hardware needed