summaryrefslogtreecommitdiffstats
path: root/source3/lib/pthreadpool/pthreadpool.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-01-27 11:08:03 +0100
committerDavid Disseldorp <ddiss@samba.org>2014-01-28 19:06:40 +0100
commit58865d96f187b843acea6d80f595ae9023f13708 (patch)
tree3a177534b23082219d6772ea40e3068d71fbdf1f /source3/lib/pthreadpool/pthreadpool.c
parent28346a6ea87ec6e49be5ff2c23020e5086cee349 (diff)
downloadsamba-58865d96f187b843acea6d80f595ae9023f13708.tar.gz
samba-58865d96f187b843acea6d80f595ae9023f13708.tar.xz
samba-58865d96f187b843acea6d80f595ae9023f13708.zip
pthreadpool: Fix a comment, "quit"->"shutdown"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Tue Jan 28 19:06:40 CET 2014 on sn-devel-104
Diffstat (limited to 'source3/lib/pthreadpool/pthreadpool.c')
-rw-r--r--source3/lib/pthreadpool/pthreadpool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/pthreadpool/pthreadpool.c b/source3/lib/pthreadpool/pthreadpool.c
index c5c9367da1..bd58d62f8f 100644
--- a/source3/lib/pthreadpool/pthreadpool.c
+++ b/source3/lib/pthreadpool/pthreadpool.c
@@ -335,8 +335,8 @@ int pthreadpool_destroy(struct pthreadpool *pool)
if (pool->num_idle > 0) {
/*
- * Wake the idle threads. They will find pool->quit to
- * be set and exit themselves
+ * Wake the idle threads. They will find
+ * pool->shutdown to be set and exit themselves
*/
ret = pthread_cond_broadcast(&pool->condvar);
if (ret != 0) {