Seperate ISECT process

New Message Reply Date view Thread view Subject view Author view

Alon Rosenfeld 18 Hatzedef street Jaffa (alon++at++bvr.co.il)
Tue, 14 Jun 94 15:38:44 +0300


Hi All,

My application uses a seperate process for intersection calls.
(pfMultiprocess(PFMP_FORK_ISECT)).

My problem is the lack of a two-way path between the APP process
and the ISECT process. Currently changes done, in the ISECT structure,
in the APP process are passed down to isect_func() (the ISECT cb),
but sadly enough it is not true the other way around.

Is there a way to pass the altered ISECT structure back to the APP other
than using some globally-defined shared data structure?

Below are some relevant code lines from my application

static void isect_func(void *userData)
{
IsectData *isect_data;

        isect_data = (IsectData *)userData;
        .
        .
        .
}

main()
{
        .
        .
        .
/* Initializing the ISECT cb */
        pfIsectFunc(isect_func);
        isect_data = (IsectData *)pfAllocIsectData(sizeof(IsectData));
        .
        .
/* Main loop */
        while (1)
                {
                .
                .
                .
                pfPassIsectData();
                pfFrame();
                }
}

Thanks

Alon

 \________ \___ \_________
\__________ \___ \__________
\___ \___ \___ \___ \___ Alon J Rosenfeld
\___ \___ \___ \___ \___ BVR Technologies Ltd.
\__________ \___ \___ \_________ 1 Korazim st. Givatayim, Israel
\__________ \___ \___ \_________ Tel: 972-3-571 5671
\___ \___ \__________ \___ \___ Fax: 972-3-571 5668
\___ \___ \________ \___ \___ Home: 972-3-683 6020
\___ \___ \______ \___ \___ Email: alon++at++bvr.co.il


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:50:20 PDT

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