pid.h #1

  • //
  • 2016-1/
  • guest/
  • devkix/
  • p4/
  • 2016-1/
  • sys/
  • pid.h
  • View
  • Commits
  • Open Download .zip Download (741 B)
/*
 * Copyright 2001 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */

/*
 * Pid.h - provide process/thread information
 *
 * Class Defined:
 *
 *      Pid - process/thread identifier
 *
 * Public methods:
 *
 *      Pid::GetID() - get identifier for current process/thread
 *      Pid::GetProcID() - get identifier for the entire process,
                           not just a thread (Windows is different.)
 *      Pid::CheckID() - check to see if (our) thread is still
 *                       running (note: recycled process/thread are
 *                       not explicitly checked for).
 */

class Pid {

    public:

	int	GetID();
	int	GetProcID();
	int	CheckID( int id );
} ;

# Change User Description Committed
#1 19992 devkix "Forking branch 2016-1 of perforce_software-p4 to devkix-p4."
//guest/perforce_software/p4/2016-1/sys/pid.h
#1 19472 Liz Lam Initial add of the 2016.1 p4/p4api source code.