Browse Source

revert kconfig of pthread

Jianting (Meco) Man 3 years ago
parent
commit
80750271c9
1 changed files with 8 additions and 8 deletions
  1. 8 8
      components/libc/Kconfig

+ 8 - 8
components/libc/Kconfig

@@ -76,16 +76,16 @@ if RT_USING_POSIX
     config RT_USING_POSIX_AIO
     config RT_USING_POSIX_AIO
         bool "Enable AIO"
         bool "Enable AIO"
         default n
         default n
+endif
 
 
-    config RT_USING_PTHREADS
-        bool "Enable pthreads APIs"
-        default n
+config RT_USING_PTHREADS
+    bool "Enable pthreads APIs"
+    default n
 
 
-    if RT_USING_PTHREADS
-        config PTHREAD_NUM_MAX
-            int "Maximum number of pthreads"
-            default 8
-    endif
+if RT_USING_PTHREADS
+    config PTHREAD_NUM_MAX
+        int "Maximum number of pthreads"
+        default 8
 endif
 endif
 
 
 endmenu
 endmenu