Update threadpool to allow use of local data

Signed-off-by: Rick Copeland <rick@synapp.io>