Philip Martin wrote on Tue, Feb 09, 2016 at 18:19:02 +0000:
> This code keeps growing and I'm thinking of moving both the signal
> handler and cancellation handler to libsvn_subr.  We need some storage
> for the volatiles and using pool memory implies a limited lifetime that
> interacts badly with the signal handlers so I'm thinking of using static
> storage in the library.  Something like:
> 
>   /* Setup signal handlers and return a cancellation handler. */
>   svn_cancel_func_t svn_cmdline__setup_cancellation_handler();
> 
>   /* Return a signal that triggered cancellation or zero if no such
>      signal. */
>   int svn_cmdline__get_cancelled_signum();

For future reference, Philip implemented that in r1729463.

Reply via email to