Simplify DEFINE_THREAD_SAFE_STATIC_LOCAL()
Reported by
sigbjo...@opera.com,
Feb 15 2017
|
||
Issue descriptionWith issue 686866, threadsafe statics are now enabled when compiling Chromium + Blink. Follow up on the Blink side and simplify away DEFINE_THREAD_SAFE_STATIC_LOCAL() usage.
,
Feb 17 2017
Mea culpa, unintentionally left out this issue on the BUG= line - https://codereview.chromium.org/2680843006/ I'm leaning towards having to explicitly declare a static-local as being either cross-thread- or single-thread accessible; it conveys useful threading information, but also catches out attempts to use the single-thread version across threads. |
||
►
Sign in to add a comment |
||
Comment 1 by sigbjo...@opera.com
, Feb 16 2017