diff options
author | Christof Schmitt <cs@samba.org> | 2019-08-23 11:24:50 -0700 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2019-08-23 23:09:12 +0000 |
commit | 767091535613720e1f2384003b363a58be0c5849 (patch) | |
tree | 6051a7f1b4d52d8d5ff50b5256df77c6cb06ef26 /lib/pthreadpool | |
parent | 9b4685242fc7aeeae05d50566b428fc003848365 (diff) | |
download | samba-767091535613720e1f2384003b363a58be0c5849.tar.gz |
pthreadpool: Remove wrong comment.
Commit e45d33e9 removed the sync fallback path for the case that no
thread could be created. Remove the comment for that fallback as it does
not make sense anymore.
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Fri Aug 23 23:09:12 UTC 2019 on sn-devel-184
Diffstat (limited to 'lib/pthreadpool')
-rw-r--r-- | lib/pthreadpool/pthreadpool.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/pthreadpool/pthreadpool.c b/lib/pthreadpool/pthreadpool.c index b6dad310b0d..cbabec9e25d 100644 --- a/lib/pthreadpool/pthreadpool.c +++ b/lib/pthreadpool/pthreadpool.c @@ -806,10 +806,6 @@ int pthreadpool_add_job(struct pthreadpool *pool, int job_id, return 0; } - /* - * No thread could be created to run job, fallback to sync - * call. - */ pthreadpool_undo_put_job(pool); unlock_res = pthread_mutex_unlock(&pool->mutex); |