void lock(void) const
Locks the mutex on this context.
This class stores variables and their values for use by any entity needing state information in a thr...
ContextGuard(KnowledgeBase &knowledge)
Constructor.
void unlock(void) const
Unlocks the mutex on this context.
ThreadSafeContext & context_
The context that will be locked.