[openib-general] [PATCH/RFC] libibverbs and libmthca fork support

Roland Dreier rdreier at cisco.com
Tue Aug 1 16:50:18 PDT 2006


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.




More information about the general mailing list