Wade Olsen (wade++at++surf.shoreline-studios.com)
Wed, 28 Jan 1998 11:17:25 -0800
Just out of parnoia you may want to try this:
1) after pfInit print out the value returned by pfGetSharedArena()
2) print out the value your giving to setTravData.
If the latter is really in shared memory it should be somewhat greater
than the former. If it's less than the former or looks completely
differnt then it's probably not in shared memory.
Also, if you have code that is looking for changes in this structure in
shared memory several times within one invocation of a function
(unlikely) you might need to use the "volatile" token to tell the
compiler not reduce these memory fetches to just one fetch.
Best of luck,
Wade
__________________________________________________________________________
> Kenneth B. Russell Synthetic Characters Group, MIT Media Lab
> kbrussel++at++media.mit.edu http://www.media.mit.edu/~kbrussel
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
--
-----------------------------
Wade Olsen, Shoreline Studios
e-mail: wade++at++shoreline-studios.com
phone: 650-969-7896
fax: 650-969-7864
www: http://www.shoreline-studios.com
=======================================================================
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:56:38 PDT