Project

General

Profile

« Previous | Next » 

Revision ef7240c5

Added by Nathan Scott over 15 years ago

  • ID ef7240c5bcb3d94e2dfc5a6a9170311ac6c7a00c

Implement SIGUSR1 and SIGHUP functionality on Windows.

The __pmSetSignalHandler and __pmResetSignal handler impl.h
routines are added to hide platform differences - simple
signal(2) wrappers on Unices but more involved under Win32.
__pmSetProgname is extended on Windows to install a default
handler for SIGTERM for all processes, allowing atexit(3)
functionality to be implemented for clean shutdowns.

pmcd, pmie, pmproxy, pmlogger now use the new functionality.

  • added
  • modified
  • copied
  • renamed
  • deleted