mutex: remove pthread_mutex_trylock 54/173154/2
authorBoram Park <boram1288.park@samsung.com>
Mon, 19 Mar 2018 06:57:54 +0000 (15:57 +0900)
committerBoram Park <boram1288.park@samsung.com>
Tue, 20 Mar 2018 08:07:35 +0000 (17:07 +0900)
commitf7f1bfe99082ad2707be80deab70225da2d24ce4
treef8d06abff55aff1252b5491450219f824ddee399
parent6e66b7b2b91efe128de1af5766a5025590f70c13
mutex: remove pthread_mutex_trylock

We don't need to call pthread_mutex_trylock to call pthread_mutex_unlock.
Just call pthread_mutex_unlock to ensure all mutexes are locked.

Change-Id: Id43c9fdddaa400454f9d462430ae90ecf25615c8
common/tdm_log.c
src/tdm_thread.c