pthreadpool: Fix a comment, "quit"->"shutdown"
authorVolker Lendecke <vl@samba.org>
Mon, 27 Jan 2014 10:08:03 +0000 (11:08 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Tue, 28 Jan 2014 18:06:40 +0000 (19:06 +0100)
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

source3/lib/pthreadpool/pthreadpool.c

index c5c9367da16fed9260b96e9aa7ad563355332902..bd58d62f8fa408f847a316a2dc865f6c11ed6025 100644 (file)
@@ -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) {