search for: f36778cf

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

2019 Aug 03
0
[nbdkit PATCH 3/3] server: Add and use nbdkit_nanosleep
...y/delay.c | 14 ++-------- filters/rate/rate.c | 10 +++---- server/public.c | 61 +++++++++++++++++++++++++++++++++++++++++ server/nbdkit.syms | 1 + 7 files changed, 99 insertions(+), 17 deletions(-) diff --git a/docs/nbdkit-plugin.pod b/docs/nbdkit-plugin.pod index 9510253f..f36778cf 100644 --- a/docs/nbdkit-plugin.pod +++ b/docs/nbdkit-plugin.pod @@ -342,6 +342,34 @@ and returns C<NULL>. The returned string must be freed by the caller. +=head2 C<nbdkit_nanosleep> + + int nbdkit_nanosleep (unsigned sec, unsigned nsec); + +The utility function C<nbdkit_nanoslee...
2019 Aug 03
5
[nbdkit PATCH 0/3] More responsive shutdown
We noticed while writing various libnbd tests that when the delay filter is in use, there are scenarios where we had to resort to SIGKILL to get rid of nbdkit, because it was non-responsive to SIGINT. I'm still trying to figure out the best way to add testsuite coverage of this, but already proved to myself that it works from the command line, under two scenarios that both used to cause long