[openib-general] [openfabrics-ewg] OFED 1.1 RC7 fork() issue.

Tang, Changqing changquing.tang at hp.com
Tue Oct 17 08:34:23 PDT 2006


>3. Fork support from kernel 2.6.12 and above is available 
>provided that applications do not use threads. The fork() is 
>supported as long as parent process does not run before child 
>exits or calls exec().

After fork(), in child, before exec(), can we call printf(), putenv(),
or even re-direct stdout/stderr ?

--CQ


>The former can be achieved by calling wait(childpid) the later 
>can be achieved by application specific means.  Posix system() 
>call is supported.
>
>Something along those lines.
>
>--
>			Gleb.
>
>_______________________________________________
>openib-general mailing list
>openib-general at openib.org
>http://openib.org/mailman/listinfo/openib-general
>
>To unsubscribe, please visit 
>http://openib.org/mailman/listinfo/openib-general
>
>




More information about the general mailing list