pthread/mutex: fix an assertion noted by Jussi Kivilinna
authorEunBong Song <eunb.song@samsung.com>
Thu, 13 Apr 2017 04:43:32 +0000 (13:43 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:20 +0000 (12:02 +0900)
commit53759dd71238c5c613ab3f0ca261a5180fa3fad7
tree9544f8a35b47935e642770a682dd64684b8b6e52
parentc45fa5e9a0e3da9c416747131831e2f59a4522aa
pthread/mutex: fix an assertion noted by Jussi Kivilinna

All credits should go to Gregory Nutt who wrote the original commit.

Change-Id: I3ba2c8a4bccc8c76047d6b22a36662c79f8ac33d
Signed-off-by: Gregory Nutt <gnutt@nuttx.org>
[Song: backported eb344d72 from NuttX]
Signed-off-by: EunBong Song <eunb.song@samsung.com>
os/kernel/pthread/pthread.h
os/kernel/pthread/pthread_mutextrylock.c