DescriptionGrant independence to SkBaseMutex on Windows.
Under POSIX, class SkMutex inherits from struct SkBaseMutex.
Since we can't have a POD mutex on Windows, we used to just
typedef SkMutex SkBaseMutex there. However, that makes it
impossible to forward-declare SkBaseMutex consistently across
platforms. With this CL we declare an empty struct SkBaseMutex
on Windows, which should have 0 cost but make the compiler happy.
R=bungeman, mtklein
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/cad0cb2a2dd23ceee03f24954c491344aef18c2c
Patch Set 1 #
Total comments: 1
Patch Set 2 : More complete SkBaseMutex implementation #Patch Set 3 : Too much privacy #Patch Set 4 : Too much protection #Patch Set 5 : Ever-baser #Patch Set 6 : Constructive mutexes #
Total comments: 1
Patch Set 7 : Even more trivial SkMutex #Messages
Total messages: 12 (0 generated)
|