Project

General

Profile

« Previous | Next » 

Revision 37369b53

Added by Nathan Scott over 16 years ago

  • ID 37369b53364138c6f025cb16c6a51bfcf8e9d530

libpcp and pmcd both need to know if a given pid_t matches
a running process. Currently the both have the same code
duplicated (exists_process). Its platform-specific stuff
too - the MacOSX implementation differs to *nix, which is
different again to Win32 of course.

This patch creates a libpcp __pmProcessExists() interface
from exists_process, and implements the Win32 variant.
pmcd is updated to call this too, instead of its own copy.

  • added
  • modified
  • copied
  • renamed
  • deleted