diff options
| author | 2011-03-08 16:49:28 -0800 | |
|---|---|---|
| committer | 2011-03-08 16:54:23 -0800 | |
| commit | cac8228e9c63e14520fc71a8186ebdbfd9f30c55 (patch) | |
| tree | b4dfbec0ce0da46580bc2c513fbcd152150a9d9c /libs/hwui/ProgramCache.h | |
| parent | 1f111f11721d5d550f45135ba193c465e59a635b (diff) | |
Fix a race condition during Context init/teardown.
This change makes Context initialization wait properly for all threads to be
available before leaving initContext(). This prevents a case where ~Context()
gets called before all created threads have started/finished their work. This
was triggered/discovered by running some very short-lived tests in CTS.
BUG=4064203
Change-Id: I1dd6f43fa7942c53881008e857df864e2395202e
Diffstat (limited to 'libs/hwui/ProgramCache.h')
0 files changed, 0 insertions, 0 deletions