mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
The desired work count must be set before the thread is started, otherwise multiple work items might be completed before it is set, resulting it never signalling the sema. R=mark@chromium.org,rsesek@chromium.org BUG=crashpad:115 Change-Id: Ie4712f56af073277366cb84cca6d302a9eab409a Reviewed-on: https://chromium-review.googlesource.com/346193 Reviewed-by: Mark Mentovai <mark@chromium.org>