Apps Components Interfaces All Files Source Tree | source: tos.lib.VM.interfaces.BombillaContextSynch.nc |
Interface to Bombilla sychronization operations.
Commands |
Events |
Commands - Details |
Parameters: |
caller - The running context whose execution causes obtainer to lock its acquire set (due to triggering, yield, etc.). obtainer - The non-running context who is to lock its acquire set. locks - The shared lock set. |
Returns: | SUCCESS if obtainer locks all of the locks in its acquire set, FALSE otherwise. |
Parameters: |
caller - The running context whose execution causes releaser to unlock its release set (due to triggering, yield, etc.). This is often (but not necessarily always) the same context as the releaser. releaser - The context who is to unlock its release set. locks - The shared lock set. |
Returns: | SUCCESS if releaser unlocks all of the locks in its release set, FALSE otherwise. |
Parameters: |
caller - The running context whose execution causes releaser to unlock its release set (due to triggering, yield, etc.). This is often (but not necessarily always) the same context as releaser. releaser - The running context who is to unlock its held set. locks - The shared lock set. |
Returns: | SUCCESS if releaser unlocks all of the locks in its held set, FALSE otherwise. |