nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aguettou...@apache.org
Subject [incubator-nuttx-apps] branch master updated: Rename CONFIG_NPTHREAD_KEYS to CONFIG_TLS_NELEM
Date Fri, 08 May 2020 16:43:37 GMT
This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new f918be8  Rename CONFIG_NPTHREAD_KEYS to CONFIG_TLS_NELEM
f918be8 is described below

commit f918be8d2ad7a82ce917733fd9fea371825f0876
Author: Gregory Nutt <gnutt@nuttx.org>
AuthorDate: Fri May 8 08:52:53 2020 -0600

    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
---
 testing/ostest/Makefile      | 2 +-
 testing/ostest/ostest_main.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/ostest/Makefile b/testing/ostest/Makefile
index cb8b49c..a8d2953 100644
--- a/testing/ostest/Makefile
+++ b/testing/ostest/Makefile
@@ -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
 
diff --git a/testing/ostest/ostest_main.c b/testing/ostest/ostest_main.c
index cca7900..feacf35 100644
--- a/testing/ostest/ostest_main.c
+++ b/testing/ostest/ostest_main.c
@@ -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");


Mime
View raw message