Apps Components Interfaces All Files Source Tree | source: tos.lib.VM.interfaces.BombillaLocks.nc |
Interface for Bombilla lock accessors and mutators.
Commands |
Commands - Details |
Parameters: |
context - The unlocking context. locks - An array of locks. lockNum - Which lock in the array to unlock. |
Returns: | SUCCESS if the lock is successfully unlocked, FAIL otherwise. |
Parameters: |
locks - An array of locks. lockNum - Which lock in the array to check. |
Returns: | TRUE if locked, FALSE if unlocked. |
Parameters: |
locks - An array of locks. lockNum - Which lock in the array to check. context - The context whose ownership is being queried. |
Returns: | TRUE if the lock is held by context, FALSE otherwise. |