On Thu, Aug 03, 2006 at 09:40:09AM -0700, Roland Dreier wrote:
>     Gleb> We can also provide environment variable to control
>     Gleb> libibverbs behaviour. This way if programmer made a wrong
>     Gleb> assumption user will be able to fix it.
> 
> OK, I added this little snippet:
> 
>       if (getenv("RDMAV_FORK_SAFE") || getenv("IBV_FORK_SAFE"))
>               if (ibv_fork_init())
>                       fprintf(stderr, PFX "Warning: fork()-safety requested "
>                               "but init failed\n");
> 
> so that setting either RDMAV_FORK_SAFE or IBV_FORK_SAFE environment
> variables forces the library to try to be fork()-safe.
> 
Looks good to me. Thanks.

--
                        Gleb.

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to