1. 20 Mar, 2009 1 commit
  2. 11 Nov, 2008 1 commit
  3. 10 Nov, 2008 1 commit
    • Michael Hanselmann's avatar
      ganeti.daemon: Make Mainloop more flexible · b14b975f
      Michael Hanselmann authored
      While working on the HTTP client class, I wanted to use Mainloop
      before deciding to use threads instead.
      
      - Add docstrings
      - Rename "quit" to "running", move it to a local variable
      - Support adding and removing I/O listeners while running
        (e.g. to add/remove listeners from OnIO(…) calls)
      - Allow user of the class to disable signal handlers
      - Flag to exit once all listeners are gone
      
      Reviewed-by: iustinp
      b14b975f
  4. 23 Oct, 2008 1 commit
  5. 17 Oct, 2008 2 commits
    • Guido Trotter's avatar
      Mainloop: handle sigterm · a570e2a8
      Guido Trotter authored
      This fixes removals of the pid files and clean exit in the init script
      
      Reviewed-by: iustinp
      a570e2a8
    • Guido Trotter's avatar
      Mainloop: init sigchld_handler as None · 07fc5289
      Guido Trotter authored
      There is no point in initializing sigchld_handler as an empty dict, when
      it will be overwritten by an instance of utils.SignalHandler
      immediately after.
      
      Reviewed-by: iustinp
      07fc5289
  6. 10 Oct, 2008 1 commit