summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Jozef BABJAK <jozef.babjak@gmail.com> 2011-02-22 09:17:51 +0100
committer Jozef BABJAK <jozef.babjak@gmail.com> 2011-02-22 09:17:51 +0100
commit25d8b05fb77e8ee755aacd27c1c2d3b237537b7a (patch)
treeeb5ada5dd64237571203150f36888b3a773a3c5b /libs/hwui/ProgramCache.cpp
parent7118bdec523568842e70555e353951df9f2596fd (diff)
Ensuring thread-safe usage of DateFormat.
DateFormat is inherently unsafe for multithreaded use. This patch adds proper synchronization. The 'sLock' is re-used. To avoid two consecutive lockings, locked version of initFormatStrings() method is created and used where appropriate, i.e. in original method AND in added synchronized block. Change-Id: Id3c34613623e743e703aadb2342aa788679dda8a
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions