Overloading new to access shared memory arena.

New Message Reply Date view Thread view Subject view Author view

KEN SEWELL (sewell++at++siscom.net)
Thu, 25 Jun 1998 19:30:18 -0400


I need to create some variables of a class that I created, however I need the structure to be allocated from the shared memory arena. I tried using pfMalloc but if I do, I cannot call the variable's constructor. Ideally I'd like to overload new so that I can pass the arena to it as a parameter. My C++ book says that this can be done however it does not tell how. Does anyone know how to do this? If so any help would be appreciated. Thanks.

                                Ken
                                Sewell++at++siscom.net
===================================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:57:35 PDT

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