This is not supported. If you need to call fork() or daemon(), this must be done before the first call to any of the SAF API functions. We are investigating if it is possible to support fork() in a better way, or at least have better error detection in the case fork() has been used.
regards, Anders Widell 2013-10-13 17:04, Lulin Wang skrev: > Hi, > > Say the following APIs are called: > saMsgInitialize() > saMsgSelectionObjectGet() // we get selectObject here > saMsgQueueOpen() // we get msgHandle here > > and then call fork() to generate a child process, what would happen to the > MSGQ APIs? > Can the parent process regularly call the APIs later on? > Is the selectObject effective in the child process? > Is the msgHandle effective in the child process? > Can we use msgHandle to get messages by calling saMessageGet() in the child? > And, what about the other services of opensaf? > > Sincerely > Lulin > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > _______________________________________________ > Opensaf-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensaf-users > > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
