1. 20 Aug, 2009 1 commit
  2. 20 Mar, 2009 1 commit
  3. 11 Nov, 2008 1 commit
  4. 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
  5. 23 Oct, 2008 1 commit
  6. 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
    • 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
  7. 10 Oct, 2008 1 commit