aboutsummaryrefslogtreecommitdiff
path: root/squashfs-tools/progressbar.h
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2013-03-20 03:01:59 +0000
committerMohamad Ayyash <mkayyash@google.com>2015-02-23 12:35:48 -0800
commit57de432fc22dbdd1bf40d78bb1ca33ee19964fbc (patch)
tree023cd0904fc2d887afcda1397be2ceba97747d00 /squashfs-tools/progressbar.h
parent54e655acfe27608ff23dd985a6f7a7e61156b367 (diff)
downloadsquashfs-tools-57de432fc22dbdd1bf40d78bb1ca33ee19964fbc.tar.gz
progress_bar: get rid of progress_wait and pthread_cond_timedwait()
Now that we don't wake up the progress bar thread get rid of the progress_wait variable and the pthread_cond_timewait() call and instead replace it with a call to nanosleep(). Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Diffstat (limited to 'squashfs-tools/progressbar.h')
-rw-r--r--squashfs-tools/progressbar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfs-tools/progressbar.h b/squashfs-tools/progressbar.h
index 34f9b77..1e46d04 100644
--- a/squashfs-tools/progressbar.h
+++ b/squashfs-tools/progressbar.h
@@ -2,7 +2,7 @@
* Create a squashfs filesystem. This is a highly compressed read only
* filesystem.
*
- * Copyright (c) 2012
+ * Copyright (c) 2012, 2013
* Phillip Lougher <phillip@squashfs.org.uk>
*
* This program is free software; you can redistribute it and/or