pthread : add rwlock implementation
authorVidisha Thapa <thapa.v@samsung.com>
Tue, 25 Apr 2017 10:02:24 +0000 (15:32 +0530)
committerjc_.kim <jc_.kim@samsung.com>
Sun, 2 Jul 2017 23:30:53 +0000 (08:30 +0900)
commit95287d6e5add8a9666dc5cb95ef8116f82fa45cb
treeb2bbff53d1dba089f8aaa8ce05c1dd0311097cfd
parent8e6e1a880f7154c55e6e001fef65a946e055f08a
pthread : add rwlock implementation

This patch adds pthread read write locks.
This implementation is ported by referring os test in latest nuttx.

Change-Id: I7f01845f36eb931405ca27f3b3b54cd9599a2e93
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
lib/libc/pthread/Make.defs
lib/libc/pthread/pthread_rwlock.c [new file with mode: 0644]
lib/libc/pthread/pthread_rwlock_rdlock.c [new file with mode: 0644]
lib/libc/pthread/pthread_rwlock_wrlock.c [new file with mode: 0644]
os/include/pthread.h