pthread: apply some missing patches from Nuttx
authorEunBong Song <eunb.song@samsung.com>
Fri, 14 Apr 2017 01:31:46 +0000 (10:31 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:21 +0000 (12:02 +0900)
commit6e954ef85d745b3b215d88e92e2efc7bb304dd1a
tree94023b91d6acf111903a026e40972c71a616651e
parent045d04d838ba4fdc8a7d2ea448525ac345351b5d
pthread: apply some missing patches from Nuttx

This patch adds pthread_mutexattr_getrobust.c and
pthread_mutexattr_setrobust.c and initialization of attr->robust in
pthread_mutexattr_init().

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

Change-Id: I02b979e0bd4e30d6e91eaf91941e3bcd6ac7e7c4
Signed-off-by: Gregory Nutt <gnutt@nuttx.org>
[Song: backported 666208cfd1196ddb and b4d378ad from NuttX]
Signed-off-by: EunBong Song <eunb.song@samsung.com>
lib/libc/pthread/Make.defs
lib/libc/pthread/pthread_mutexattr_getrobust.c [new file with mode: 0644]
lib/libc/pthread/pthread_mutexattr_setrobust.c [new file with mode: 0644]
lib/libc/pthread/pthread_mutexattrinit.c
os/include/pthread.h
os/kernel/Kconfig
os/kernel/pthread/pthread_mutexinit.c