event: added a hackish ability to set an event as "locked" to its current state, cleaned up some comments
This commit is contained in:
parent
55325dea4c
commit
f7cececc5c
2 changed files with 32 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue