Add a generic way to run a task on all WorkerThreads
This allows us to hide the HashSet of all current WorkerThreads, which is valuable since the callers outside WorkerThread don't have access to the necessary mutex to access it safely. Convert TimeZoneMonitorClient to use this helper. Change-Id: I5aa743a1fa0c789a8f9496a05d7cfecde9238004 Reviewed-on: https://chromium-review.googlesource.com/1228950Reviewed-by:Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by:
Mark Mentovai <mark@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/master@{#592116}
Showing
Please register or sign in to comment