« Previous | Next » 

Revision 39dcf2ef


Added by Guido Trotter almost 16 years ago

ganeti-masterd: init and distribute common context

This patch creates a new GanetiContext class, which is used to hold
context common to all ganeti worker threads. As for the
GanetiLockingManager class it is paramount that there is only one such
class throughout the execution of Ganeti, so the class checks for that,
and also forbids its own modification after it's been initialized. The
context for now contains a ConfigWriter and a GanetiLockingManager and
is created by the daemon and propagated to PoolWorker(s) and

Reviewed-by: iustinp


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences