Some thoughts on the external recovery lock helper

Ira Cooper ira at wakeful.net
Fri Jun 17 15:10:10 UTC 2016


On Fri, Jun 17, 2016 at 10:56 AM, Richard Sharpe <
realrichardsharpe at gmail.com> wrote:

>
> OK, so this part is the harder part. If the parent crashes then the
> helper needs to exit. It is not impossible, but a design where the
> helper is called as a (shared) library function gets this for free. We
> have lots of experience with this sort of thing in Samba.
>
> However, it is not impossible.
>
>
Shouldn't we be able to detect that the pipe/socket that we are writing to
has closed?

-Ira


More information about the samba-technical mailing list