[openib-general] [PATCH/RFC] libibverbs and libmthca fork support
Ralph Campbell
ralphc at pathscale.com
Tue Aug 1 17:21:36 PDT 2006
This is the sort of thing that needs to be clearly documented
for the library. We currently don't have a useable set of
documents (some collection of reading the code and the IB spec.).
On Tue, 2006-08-01 at 16:50 -0700, Roland Dreier wrote:
> I guess this is pretty uncontroversial, so I'll check this in
> tomorrow. But one last call for comments: in particular, does anyone
> object to libibverbs being fork-unsafe by default unless ibv_fork_init
> is called?
>
> > +/**
> > + * ibv_fork_init - Prepare data structures so that fork() may be used
> > + * safely. If this function is not called or returns a non-zero
> > + * status, then libibverbs data structures are not fork()-safe and the
> > + * effect of an application calling fork() is undefined.
> > + */
> > +int ibv_fork_init(void);
>
> - R.
>
> _______________________________________________
> 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