changeset 545:70b861ba8f8c

* cdl/thread.cdl: Correct max legal value for CYGNUM_KERNEL_THREADS_DATA_MAX.
author jlarmour
date Tue, 28 Jan 2003 04:21:37 +0000
parents 716d0be04750
children bd1ddaaaf796
files packages/kernel/current/ChangeLog packages/kernel/current/cdl/thread.cdl
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/kernel/current/ChangeLog
+++ b/packages/kernel/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-28  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* cdl/thread.cdl: Correct max legal value for
+	CYGNUM_KERNEL_THREADS_DATA_MAX.
+
 2003-01-22  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* doc/kernel.sgml: Document cyg_thread_info type.
--- a/packages/kernel/current/cdl/thread.cdl
+++ b/packages/kernel/current/cdl/thread.cdl
@@ -165,7 +165,7 @@ cdl_component CYGVAR_KERNEL_THREADS_DATA
     cdl_option CYGNUM_KERNEL_THREADS_DATA_MAX {
 	display            "Number of words of per-thread data"
 	flavor             data
-	legal_values       4 to 65535
+	legal_values       4 to 31
 	default_value      6
 	description "
         It is possible for the kernel to support per-thread data, in
@@ -174,7 +174,9 @@ cdl_component CYGVAR_KERNEL_THREADS_DATA
         data can be used by applications or by other packages such as
         the ISO C library. This configuration option controls the
         number of words of per-thread data that the kernel will
-        allow."
+        allow. In the current implementation a bitmask is used to identify
+        used per-thread data slots and so the maximum legal value must
+        remain 31."
     }
 
     cdl_component CYGNUM_KERNEL_THREADS_DATA_ALL {