pthreadpool: add pthreadpool_tevent_[current_job_]per_thread_cwd()
authorStefan Metzmacher <metze@samba.org>
Thu, 21 Jun 2018 23:02:41 +0000 (01:02 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 24 Jul 2018 15:38:27 +0000 (17:38 +0200)
commit12a45ee1a66379ba7562729b835ce0e2e4bfb3b3
treee71e6a536266960ab64a6504216da02e3fc498ef
parent65e4742d168454df6507d9e74993749063435dd6
pthreadpool: add pthreadpool_tevent_[current_job_]per_thread_cwd()

This can be used to check if worker threads run with
unshare(CLONE_FS).

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