Rename CONFIG_NPTHREAD_KEYS to CONFIG_TLS_NELEM

After the redesign of pthread-specific data, CONFIG_NPTHREAD_KEYS is removed and replaced with CONFIG_TLS_NELEM
This commit is contained in:
Gregory Nutt 2020-05-08 08:52:53 -06:00 committed by Abdelatif Guettouche
parent 9c4cdc5331
commit f918be8d2a
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ CSRCS += cancel.c cond.c mutex.c timedmutex.c sem.c semtimed.c barrier.c
CSRCS += timedwait.c
CSRCS += pthread_rwlock.c pthread_rwlock_cancel.c
ifneq ($(CONFIG_NPTHREAD_KEYS),0)
ifneq ($(CONFIG_TLS_NELEM),0)
CSRCS += specific.c
endif

View File

@ -363,7 +363,7 @@ static int user_main(int argc, char *argv[])
check_test_memory_usage();
#endif
#if !defined(CONFIG_DISABLE_PTHREAD) && CONFIG_NPTHREAD_KEYS > 0
#if !defined(CONFIG_DISABLE_PTHREAD) && CONFIG_TLS_NELEM > 0
/* Verify pthread-specific data */
printf("\nuser_main: pthread-specific data test\n");