Re: getpid() and pfNodeTravFuncs()

New Message Reply Date view Thread view Subject view Author view

Mark Baranowski (baranowski++at++marklynn.demon.co.uk)
Thu, 04 Sep 1997 08:21:49 GMT


On Wed, 3 Sep 1997 11:14:42 -0700, Tom wrote:

<snip>
>
> I would see different pid numbers.
> But the pid numbers are always the same as that of main.
>
>I do not understand. Yes, I am only working on a 1-CPU impact (not a multi-proc)
>
>But, still, I should see the different process id numbers.

>From another window, when I execute "ps", I see the three processes, so I
>know that three distince processes do exist, but I alway get the same number
>of pid as that which is reported by main.
>
>Could someone explain why?

You are not multiprocessing (what value are you using in the
pfMultiprocess function call). If it is PFMP_DEFAULT (which is the
value used if you don't call pfMultiprocess) then on a single
processor machine you will have app, cull & draw executing in the same
process.

Performer creates a clock process which is one of the ones you are
seeing when using ps. One of the others is obviously your appculldraw
process (not sure what the other entry is).

Regards,

Mark.

-- 
Mark Baranowski at work (baranowski++at++marklynn.demon.co.uk)
Pera, VR Division. Melton Mowbray, Leics. LE13 0PB. UK.
Tel: +44 (0)1664 501501, Fax: +44 (0)1664 501553
All opinions expressed are my own and should not be viewed
as representing my employer unless stated otherwise.
===================================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:55:52 PDT

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