DescriptionTSAN: use somewhat pithier SK_ANNOTATE_UNPROTECTED_READ.
This is a little bit better practice to be i than the existing SK_ANNOTATE_BENIGN_RACE, as UNPROTECTED_READ will only ignore reads, not writes.
Tag SkRefCnt::unique() as a safe unprotected read like SkOnce's double-checked locking.
BUG=skia:
Committed: http://code.google.com/p/skia/source/detail?r=13309
Patch Set 1 #
Total comments: 3
Patch Set 2 : docs #Patch Set 3 : benh #
Total comments: 1
Messages
Total messages: 8 (0 generated)
|