[x265] [PATCH 1 of 5] cli: use sig_atomic_t type for variable modified by SIGINT handler

SF Markus Elfring elfring at users.sourceforge.net
Wed Sep 18 21:38:54 CEST 2013


> +static volatile sig_atomic_t b_ctrl_c /* = 0 */;
>  static void sigint_handler(int)
>  {
> -    if (b_exit_on_ctrl_c)
> -        exit(0);
>      b_ctrl_c = 1;
>  }

Now I am curious which function(s) will check this variable to achieve a
corresponding reaction.

Regards,
Markus



More information about the x265-devel mailing list