mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
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
This commit is contained in:
parent
28346a6ea8
commit
58865d96f1
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user