Cleanup threading/ownership semantics of PlatformBridgeCertValidator by only running static methods on the worker thread. The worker thread is owned by the Validator which join()s the thread before deleting it. So by making the worker thread only operate on data copied (or moved) into the the thread, we avoid multi-threaded access.
Risk Level: Low - Not in production
Testing: Existing unit
Docs Changes: N/A
Release Notes: N/A
@jpsim Can you take a look at this? After working on #2696 for a while, I eventually concluded that this approach was simpler/clearer. But what do you think?
Cleanup threading/ownership semantics of PlatformBridgeCertValidator by only running static methods on the worker thread. The worker thread is owned by the Validator which join()s the thread before deleting it. So by making the worker thread only operate on data copied (or moved) into the the thread, we avoid multi-threaded access.
Risk Level: Low - Not in production Testing: Existing unit Docs Changes: N/A Release Notes: N/A