pid.h #1

  • //
  • guest/
  • perforce_software/
  • p4/
  • 2017-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 22288 mark_mears import 2017.1 code drop