[PATCH] pthreadpool: Fix a comment, "quit"->"shutdown"
Volker Lendecke
Volker.Lendecke at SerNet.DE
Tue Jan 28 08:58:59 MST 2014
Hi!
Please review & push!
Thanks,
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From 7b8896a737bd35670ec8eb77ccafeffbe171401e Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Mon, 27 Jan 2014 11:08:03 +0100
Subject: [PATCH] pthreadpool: Fix a comment, "quit"->"shutdown"
Signed-off-by: Volker Lendecke <vl at samba.org>
---
source3/lib/pthreadpool/pthreadpool.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source3/lib/pthreadpool/pthreadpool.c b/source3/lib/pthreadpool/pthreadpool.c
index c5c9367..bd58d62 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) {
--
1.8.5.2
More information about the samba-technical
mailing list