pthreadpool: add a comment about a further optimization in pthreadpool_tevent_job_des...
authorStefan Metzmacher <metze@samba.org>
Fri, 22 Jun 2018 15:22:10 +0000 (17:22 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 24 Jul 2018 15:38:27 +0000 (17:38 +0200)
commitf23cac39b36b026650e0922c78fe0fd3fe567e35
treedea01d55206f451288a9b90fb2f5e40d04dc56b0
parentaa9b64eccfd037941512bad108c4e3946714a502
pthreadpool: add a comment about a further optimization in pthreadpool_tevent_job_destructor()

This seems to be a really rare race, it's likely that the immediate
event will still trigger and cleanup.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/pthreadpool/pthreadpool_tevent.c