pid.h #1

  • //
  • guest/
  • perforce_software/
  • p4/
  • 2014-2/
  • 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 15903 Matt Attaway Everything should be happy now between the Workshop and the depot paths
//guest/perforce_software/p4/2014_2/sys/pid.h
#1 15901 Matt Attaway Clean up code to fit modern Workshop naming standards
//guest/perforce_software/p4/2014.2/sys/pid.h
#1 12189 Matt Attaway Initial (and much belated) drop of 2014.2 p4 source code