pthreadpool: add helgrind magic to PTHREAD_TEVENT_JOB_THREAD_FENCE_*()
authorStefan Metzmacher <metze@samba.org>
Thu, 21 Jun 2018 10:43:08 +0000 (12:43 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 24 Jul 2018 15:38:27 +0000 (17:38 +0200)
commit9b73fda926eb8493e80012794483039be66d4e6c
treea1a946e9d6abf4020cad2e7decdceb47bc30ed52
parent66aaa22f0f6746d2ef9a719adfdad70600287c9d
pthreadpool: add helgrind magic to PTHREAD_TEVENT_JOB_THREAD_FENCE_*()

This avoids the expected helgrind/drd warnings on the job states which
are protected by the thread fence.

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