commit | 9bfa0b8fbd4bcda25ee62d882e8087388c0a869d | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@squashfs.org.uk> | Sat Apr 06 05:05:15 2013 +0100 |
committer | Mohamad Ayyash <mkayyash@google.com> | Mon Feb 23 12:35:50 2015 -0800 |
tree | 60f474da6aef3361db9e7cd8a79d8bec46d10ac9 | |
parent | 1837bf160999869e94849a543a335a4756109003 [diff] |
mksquashfs: simplify pthread_cleanup_pop handling If exiting via EXIT_MKSQUASHFS(), BAD_ERROR() or MEM_ERROR() we do not need to explicitly execute the pthread_cleanup_pop handler because these macros terminate the thread via pthread_exit, which executes all pthread_cleanup handlers itself. If we're not restoring, we simply exit the process, which is fine. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>