Re: What process am I in?

New Message Reply Date view Thread view Subject view Author view

Mark Baranowski (mark_baranowski++at++peragroup.com)
Thu, 20 Nov 1997 14:10:26 -0000


> From: Volz, Bill (wrvo) <WRVO++at++chevron.com>
>
> Is there a way to determine what process a particular routine is in,
> short of tracing through the code? A simple call that returns a flag
> that can be compared with some defined value would be nice. I just want
> to make sure that things are in the correct process. A call like
> pfGetProcessType(???) and compare it against PF_APP, PF_CULL, etc?
>
> Thanks,
>
> Bill Volz

Hi Bill,

Take a look at the man pages for getpid, pfGetPID and pfGetStage. They
should provide the necessary building blocks.

Regards,

Mark.

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:13 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.