comparison packages/kernel/current/cdl/thread.cdl @ 147:d397fc472bcf

Merge from eCos master repository on 2001-01-05-06:43:02-GMT
author jlarmour
date Fri, 05 Jan 2001 17:12:36 +0000
parents 2e9a636d9de9
children f62680ef1804
comparison
equal deleted inserted replaced
146:bd918119cf0b 147:d397fc472bcf
115 This is the size of the area reserved for a signature at the top 115 This is the size of the area reserved for a signature at the top
116 and bottom of all stacks. It also provides a buffer zone for 116 and bottom of all stacks. It also provides a buffer zone for
117 detecting overflow before external objects are corrupted, hence the 117 detecting overflow before external objects are corrupted, hence the
118 ability to vary it here. But if you are short of stack, increasing 118 ability to vary it here. But if you are short of stack, increasing
119 this value will make the overflow more, not less likely, of course." 119 this value will make the overflow more, not less likely, of course."
120 }
121 }
122
123 cdl_component CYGFUN_KERNEL_THREADS_STACK_MEASUREMENT {
124 display "Measure stack usage"
125 default_value { 0 != CYGPKG_INFRA_DEBUG }
126 description "
127 This option allows measurement of each thread's stack by initializing
128 it to a predefined value at thread creation time. Later use of the
129 cyg_thread_measure_stack_usage() function allows the maximum stack
130 usage of the thread so far to be obtained. Note that this is not
131 necessarily the true maximum stack usage that the thread will ever
132 use since all that has been measured is the stack usage corresponding
133 to the code path followed this time, and not the code path that may
134 be followed in future."
135
136 cdl_option CYGDBG_KERNEL_THREADS_STACK_MEASUREMENT_VERBOSE_EXIT {
137 display "Output stack usage on thread exit"
138 default_value 0
139 description "
140 This will output the measured stack usage on the diagnostic
141 output when a thread exits."
120 } 142 }
121 } 143 }
122 144
123 cdl_component CYGVAR_KERNEL_THREADS_DATA { 145 cdl_component CYGVAR_KERNEL_THREADS_DATA {
124 display "Support for per-thread data" 146 display "Support for per-thread data"