search for: bg_kill

Displaying 2 results from an estimated 2 matches for "bg_kill".

Did you mean: __kill
2020 Feb 10
3
nbdkit background threads
...**nxdata, /* needs a close function */); It would return a next_ops and nxdata that the filter could then use to make data calls from the background thread into the underlying layers. To ensure safe unloading of filters and plugins we would also need a new filter callback (which I called .bg_kill) which must close all background connections opened by the filter before returning. I believe from my rough implementation that this is feasible. However I also thought about another way we might do this: We might open a loopback socket (eg. socketpair) which is passed to the filter and which the...
2020 Feb 10
0
Re: nbdkit background threads
...function */); > > It would return a next_ops and nxdata that the filter could then use > to make data calls from the background thread into the underlying > layers. > > To ensure safe unloading of filters and plugins we would also need a > new filter callback (which I called .bg_kill) which must close all > background connections opened by the filter before returning. Seems reasonable. > > I believe from my rough implementation that this is feasible. However > I also thought about another way we might do this: We might open a > loopback socket (eg. socketpair...