mutex: don't use the tdm macros for gLock variable. 19/114819/1
authorBoram Park <boram1288.park@samsung.com>
Wed, 15 Feb 2017 07:29:05 +0000 (16:29 +0900)
committerBoram Park <boram1288.park@samsung.com>
Wed, 15 Feb 2017 07:32:26 +0000 (16:32 +0900)
commit91aae257ad384e82b6ce6ad38e0ba61048fb9ae1
treee4c6386e079b3b2a9642bb52b31072c847ddb389
parent0ac6c1319b8381fafff61433a5033d097d0d1d08
mutex: don't use the tdm macros for gLock variable.

When _pthread_mutex_unlock macro, tdm_mutex_locked becomes 0. Then, TDM_MUTEX_IS_LOCKED
return 0 even though display->lock is locked. TDM_MUTEX_IS_LOCKED actually is for
display->lock.

Change-Id: Idd4f638b84c0d244de61404e08ee4dfcf81921a2
src/tdm.c