35 for ( i = 0 ; i < n ; ++i ) {
38 callout = initial_table[ i ].thread_switch;
40 if ( callout != NULL ) {
43 c = &initial_switch_controls[ i ];
44 c->thread_switch = callout;
Manages the switch callouts.
static __inline__ void _Chain_Initialize_node(Chain_Node *the_node)
Initializes a chain node.
const size_t _User_extensions_Initial_count
The count of initial user extensions.
Chain_Control _User_extensions_Switches_list
List of active task switch extensions.
User Extension Handler API.
void(* User_extensions_thread_switch_extension)(struct _Thread_Control *executing, struct _Thread_Control *heir)
Task switch extension.
const User_extensions_Table _User_extensions_Initial_extensions[]
The table of initial user extensions.
void _User_extensions_Handler_initialization(void)
Initializes the user extensions handler.
static __inline__ void _Chain_Append_unprotected(Chain_Control *the_chain, Chain_Node *the_node)
Appends a node (unprotected).
User_extensions_Switch_control _User_extensions_Initial_switch_controls[]
A spare switch control for each initial user extension.