Remove CONFIG_PTHREAD_RWLOCK. Rwlock interfaces built unconditionally.
This commit is contained in:
parent
1fde89e2d9
commit
acb6077988
@ -71,6 +71,7 @@ endif
|
||||
|
||||
ifneq ($(CONFIG_DISABLE_PTHREAD),y)
|
||||
CSRCS += cancel.c cond.c mutex.c sem.c semtimed.c barrier.c timedwait.c
|
||||
CSRCS += pthread_rwlock.c
|
||||
|
||||
ifneq ($(CONFIG_PTHREAD_MUTEX_UNSAFE),y)
|
||||
CSRCS += robust.c
|
||||
@ -93,10 +94,6 @@ CSRCS += sporadic.c
|
||||
endif
|
||||
endif # CONFIG_DISABLE_PTHREAD
|
||||
|
||||
ifeq ($(CONFIG_PTHREAD_RWLOCK),y)
|
||||
CSRCS += pthread_rwlock.c
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_DISABLE_MQUEUE),y)
|
||||
ifneq ($(CONFIG_DISABLE_PTHREAD),y)
|
||||
CSRCS += mqueue.c timedmqueue.c
|
||||
|
@ -424,15 +424,13 @@ static int user_main(int argc, char *argv[])
|
||||
cond_test();
|
||||
check_test_memory_usage();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PTHREAD_RWLOCK
|
||||
/* Verify pthreads and pthread mutex */
|
||||
/* Verify pthreads rwlock interfaces */
|
||||
|
||||
printf("\nuser_main: pthread_rwlock test\n");
|
||||
pthread_rwlock_test();
|
||||
check_test_memory_usage();
|
||||
#endif /* CONFIG_PTHREAD_RWLOCK */
|
||||
#endif /* !CONFIG_DISABLE_PTHREAD */
|
||||
|
||||
#ifndef CONFIG_DISABLE_PTHREAD
|
||||
/* Verify pthreads and condition variable timed waits */
|
||||
|
Loading…
Reference in New Issue
Block a user