diff options
author | Elliott Hughes <enh@google.com> | 2015-03-23 20:20:54 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-03-23 20:20:54 -0700 |
commit | 5c4665938d21ddebb8ddf498be7ae390bcadc0ca (patch) | |
tree | 03c8409ea9a936be407f593f30ad71a9dc68f866 | |
parent | 57526dafbf62f003d74fc48084cc252843f061f7 (diff) | |
download | extras-5c4665938d21ddebb8ddf498be7ae390bcadc0ca.tar.gz |
Use PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP.
Change-Id: Ifa87d9a9406acec1d5cdf7dd63af0df52c5cfb3c
-rw-r--r-- | tests/bionic/libc/bionic/test_cond.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bionic/libc/bionic/test_cond.c b/tests/bionic/libc/bionic/test_cond.c index 6a85f9b4..62d96948 100644 --- a/tests/bionic/libc/bionic/test_cond.c +++ b/tests/bionic/libc/bionic/test_cond.c @@ -33,7 +33,7 @@ #include <string.h> #include <unistd.h> -static pthread_mutex_t lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER; +static pthread_mutex_t lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; static pthread_cond_t wait = PTHREAD_COND_INITIALIZER; static void* _thread1(void *__u __attribute__((unused))) |