commit | 480ee07d45c475e351d4de1bd5c4f0ac34217dd5 | [log] [tgz] |
---|---|---|
author | Tsuyoshi Horo <horo@chromium.org> | Tue Aug 01 01:04:18 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Aug 01 01:04:18 2017 |
tree | 02242550252133bdbd374f8ca0da92085b150ece | |
parent | 408e5cd80fe4036687691479b1451cc219d3fdb2 [diff] |
Use std::atomic_ulong for CreateUniqueIdentifier() We will use CreateUniqueIdentifier() from worker threads when off-main-thread-fetch is enabled. So g_unique_identifier must be atomic. Bug: 443374 Change-Id: I766f466c250a90a8e2e61c8ac5535d3144a909b6 Reviewed-on: https://chromium-review.googlesource.com/593467 Commit-Queue: Tsuyoshi Horo <horo@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#490829}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .