Glenn Waldron (gwaldron++at++peril.com)
Sat, 08 Mar 1997 12:04:28 -0500
I've since fixed the problem too, and my solution was to fork() the
rapidapp process. I took some pointers from SGI's motif.C example, and
forked right after pfConfig(), continuing on with Performer in the
parent process and rapidapp as the child. This all occurs before
the VkApp is created. (And if the fork() fails, we can in theory revert
to the old VkBackground method.) A working example is available upon
request.
This works well, and it also works in Performer MP modes.. the only
drawback
is: now that rapidapp and pf are in separate processes, rapidapp can
only
access a pf data structure if its poniter is in shared memory. I don't
know how safe this is.
(aside: While we're talking about ViewKit widgets, I'd like to point out
that the ImageVision widgets seem to core dump the application somewhat
randomly. The only consistent crash I can find is when you try to
resize
the Image Detail widget..)
> --
> -----------------------------------------------------------------
> Harri Kaimio | harri.kaimio++at++yle.fi
> Computer Graphics Specialist | http://cartes.hut.fi/~hkaimio
> Finnish Broadcasting Company | Tel. +358-40-50 67 679
> TV Production Operations | Fax. +358-0-1480 4769
--
Glenn Waldron - ANSER Leading Edge Technologies phone/PCS: 703.598.7835
email: gwaldron++at++peril.com voice mail: 703.416.8462
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:52 PDT