[openfabrics-ewg] [openib-general] OFED 1.1 RC7 fork() issue.
glebn at voltaire.com
glebn at voltaire.com
Tue Oct 17 09:07:29 PDT 2006
On Tue, Oct 17, 2006 at 10:34:23AM -0500, Tang, Changqing wrote:
>
> >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 ?
>
Child can do whatever he wants (except using verbs), but parent can't use
verbs until child exits() or execs().
--
Gleb.
More information about the ewg
mailing list