OSDN Git Service

Remove lock around ref count check in terminate.
authorMichael Lentine <mlentine@google.com>
Tue, 27 Jan 2015 17:01:03 +0000 (09:01 -0800)
committerMichael Lentine <mlentine@google.com>
Wed, 28 Jan 2015 19:54:15 +0000 (11:54 -0800)
commit54466bc4412acf33a59af59d9eadde54c22b2ebe
tree90cd0adbbdb1d904c7d4698d5265999c23e42377
parentef1c17ae9417abc1e21e49dbc629e448efc947dc
Remove lock around ref count check in terminate.

Replace the global lock in terminate for the ref count check with atomics and a
local lock.

Bug: 19072064

Change-Id: I0cfd6564e227a75b8387a8788b16381d5bc2cc88
opengl/libs/EGL/egl_display.cpp
opengl/libs/EGL/egl_display.h