Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

DWORD PProcess::GetProcessID (  ) const [inherited]

Get the platform dependent process identifier for the process. This is an arbitrary (and unique) integer attached to a process by the operating system.

Returns:
Process ID for process.

Definition at line 122 of file ptlib.inl.

{
#ifdef P_VXWORKS
  return PX_threadId;
#else
  return (DWORD)getpid();
#endif // P_VXWORKS
}

Generated by  Doxygen 1.6.0   Back to index