pfTime trouble

New Message Reply Date view Thread view Subject view Author view

Andreas Simon (simon++at++HHI.DE)
Thu, 30 Nov 1995 21:14:50 +0100 (MET)


Hi,

I`m running into problems using pfSelectClock.

What I want is to share a single clock by unrelated processes through
a named clock - by invoking pfSelectClock("bla") - so that processes
see identical time the same way as related "processes forked after the
first call to pfInitClock" are happy to do.

As far as I understand the manual this is what pfSelectClock was made for.
But no such luck so far. "pfSelectClock has no effect" period.

The obvious (i.e. my) way - calling pfSelectClock with the same name in
every process - didn`t work and I ended up with all processes having their
own time (even when I made sure that pfInitClock was called only after the
last process had finished calling pfSelectClock - using 5.3 w/ 1.2).

Help?! Like a sniplet of code that worked? Thanks!

andreas.

-------------------------------------
Andreas Simon,

Heinrich Hertz Institut - Einsteinufer 37 - 10587 Berlin
phone (030) 31 00 23 79 - email simon++at++hhi.de


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:52:04 PDT

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