Event: Fixed some bugs and cleanup (Subv)

This commit is contained in:
bunnei 2015-01-15 19:29:46 -05:00
parent 1f7a04f05a
commit e4a5d8ad4f
4 changed files with 16 additions and 57 deletions

View file

@ -11,22 +11,17 @@
namespace Kernel {
/**
* Changes whether an event is locked or not
* @param handle Handle to event to change
* @param locked Boolean locked value to set event
*/
ResultCode SetEventLocked(const Handle handle, const bool locked);
/**
* Signals an event
* @param handle Handle to event to signal
* @return Result of operation, 0 on success, otherwise error code
*/
ResultCode SignalEvent(const Handle handle);
/**
* Clears an event
* @param handle Handle to event to clear
* @return Result of operation, 0 on success, otherwise error code
*/
ResultCode ClearEvent(Handle handle);