aboutsummaryrefslogtreecommitdiff
path: root/src/xz/args.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-01-26 18:29:17 +0200
committerLasse Collin <lasse.collin@tukaani.org>2023-01-27 19:37:47 +0200
commitff592c616eda274215b485cf1b8d34f060c9f3be (patch)
tree7c3141dc351c68803372e7bcae4a87e5d7dcb6a7 /src/xz/args.h
parentTranslations: Add Brazilian Portuguese translation of man pages. (diff)
downloadxz-ff592c616eda274215b485cf1b8d34f060c9f3be.tar.xz
xz: Add SIGTSTP handler for progress indicator time keeping.
This way, if xz is stopped the elapsed time and estimated time remaining won't get confused by the amount of time spent in the stopped state. This raises SIGSTOP. It's not clear to me if this is the correct way. POSIX and glibc docs say that SIGTSTP shouldn't stop the process if it is orphaned but this commit doesn't attempt to handle that. Search for SIGTSTP in section 2.4.3: https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html
Diffstat (limited to 'src/xz/args.h')
0 files changed, 0 insertions, 0 deletions