comparison packages/kernel/current/include/kapi.h @ 10:d3fbcdfa1b2f ecos-sw-1999-05-29

Merge from eCos master repository on 1999-05-29-00:13:11-BST
author jlarmour
date Fri, 28 May 1999 16:43:09 +0000
parents ece80412419a
children c38311975d4f
comparison
equal deleted inserted replaced
9:95cc44ea0068 10:d3fbcdfa1b2f
157 157
158 void cyg_thread_yield(void); 158 void cyg_thread_yield(void);
159 159
160 cyg_handle_t cyg_thread_self(void); 160 cyg_handle_t cyg_thread_self(void);
161 161
162 cyg_handle_t cyg_thread_idle_thread(void);
162 163
163 /* Priority manipulation */ 164 /* Priority manipulation */
164 165
165 void cyg_thread_set_priority(cyg_handle_t thread, cyg_priority_t priority ); 166 void cyg_thread_set_priority(cyg_handle_t thread, cyg_priority_t priority );
166 167
173 cyg_tick_count_t run_time, /* worst case execution time */ 174 cyg_tick_count_t run_time, /* worst case execution time */
174 cyg_tick_count_t deadline /* absolute deadline */ 175 cyg_tick_count_t deadline /* absolute deadline */
175 ); 176 );
176 177
177 void cyg_thread_delay(cyg_tick_count_t delay); 178 void cyg_thread_delay(cyg_tick_count_t delay);
179
180 /* Stack information */
181 cyg_addrword_t cyg_thread_get_stack_base(cyg_handle_t thread);
182
183 cyg_uint32 cyg_thread_get_stack_size(cyg_handle_t thread);
184
178 185
179 /*---------------------------------------------------------------------------*/ 186 /*---------------------------------------------------------------------------*/
180 /* Per-thread Data */ 187 /* Per-thread Data */
181 188
182 #ifdef CYGVAR_KERNEL_THREADS_DATA 189 #ifdef CYGVAR_KERNEL_THREADS_DATA