Apps
Components
Interfaces
All Files
Source Tree
source:
tos.lib.VM.components.BContextSynch.nc
Component: BContextSynch
Author:
Philip Levis
Required Interfaces
BombillaError
BombillaLocks
Locks
BombillaInstruction
Instruction
BombillaQueue
Queue
BombillaStacks
Stacks
Provided Interfaces
BombillaContextSynch
Synch
BombillaAnalysis
Analysis
StdControl
Variables
BombillaQueue readyQueue
Function Index
command result_t
StdControl.init
(void)
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)
command void
Synch.reboot
(void)
command bool
Synch.isRunnable
(BombillaContext *context)
command result_t
Synch.obtainLocks
(BombillaContext *caller, BombillaContext *obtainer)
command result_t
Synch.releaseLocks
(BombillaContext *caller, BombillaContext *releaser)
command result_t
Synch.releaseAllLocks
(BombillaContext *caller, BombillaContext *releaser)
command void
Analysis.analyzeCapsuleVars
(BombillaCapsuleBuffer *buf)
uint16_t
capsuleCallsDeep
(BombillaCapsuleBuffer *capsules[], int which)
command void
Analysis.analyzeCapsuleCalls
(BombillaCapsuleBuffer *capsules[])
command void
Synch.initializeContext
(BombillaContext *context)
command void
Synch.yieldContext
(BombillaContext *context)
command bool
Synch.resumeContext
(BombillaContext *caller, BombillaContext *context)
command void
Synch.haltContext
(BombillaContext *context)