Getting VClock PID with Performer 1.0

New Message Reply Date view Thread view Subject view Author view

Rejean Chartrand (rejeanc++at++cae.ca)
Sun, 5 Feb 95 18:51:12 EST


Hi,

   I have to support a product that has been created using Performer 1.0
(So no intention to upgrade the product with another version of Performer).

   Here's the problem that I have to solve :

      I need to get the PID of the VClock, which is a process that is forked
   by a call to pfInit(). Using Performer 1.2 I can have it using the
   pfGetPID( PFPROC_CLOCK ) but with Performer 1.0 it is not available. I've
   searching the man pages for the wait and signal commands but I don't seem
   to be able to find a way to have access to the list of processes that I
   main() function is generating (i.e. from a given parent process to get a
   list of all the other child processes). If anybody can provide me with a
   simple piece of code that does that I would really appreciate (maybe
   something simillar to what the ps() Unix command does).

Thanks in advance !

Rejean Chartrand.
CAE Electronics, Montreal CANADA.


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:50:56 PDT

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