event: added a hackish ability to set an event as "locked" to its current state, cleaned up some comments

This commit is contained in:
bunnei 2014-06-01 10:33:55 -04:00
parent 55325dea4c
commit f7cececc5c
2 changed files with 32 additions and 4 deletions

View file

@ -19,6 +19,14 @@ namespace Kernel {
*/
Result SetEventLocked(const Handle handle, const bool locked);
/**
* Hackish function to set an events permanent lock state, used to pass through synch blocks
* @param handle Handle to event to change
* @param permanent_locked Boolean permanent locked value to set event
* @return Result of operation, 0 on success, otherwise error code
*/
Result SetPermanentLock(Handle handle, const bool permanent_locked);
/**
* Clears an event
* @param handle Handle to event to clear