RE: Asych DBASE process

New Message Reply Date view Thread view Subject view Author view

Greg Harrison (harrisog++at++geocities.com)
Thu, 7 Jan 1999 20:08:20 -0500


Chris,

I have all the same, but that last line. What is the motivation there?
Also, since the first DBASE run isn't made until the first pfSync call, how
do you ensure that the database models (of which I'm sure you have some) are
paged in before manipulating them (i.e., the DCS contained therein). Do you
not modify the contents of the objects you bring in (i.e., all your DCS
nodes are made dynamically in code and do not come from the models you
load)?

Greg

        pfInit();
// Initialize Shared memory
        initShared();
// configure multi-process selection
        int ProcSplit = PFMP_FORK_DBASE;
        pfMultiprocess(ProcSplit);
        pfDBaseFunc((pfDBaseFuncType)(void *)pageDBase);
        pfConfig();
// Get current memory buffer for future use by Dbase process
        Shared->configBuffer = pfGetCurBuffer();

If you need more, let me know.

Chris Mitchell
UCLA Physics Department
LAPD Plasma Lab
310-206-1772
chrism++at++ucla.edu


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Jan 07 1999 - 17:12:00 PST

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