NAME

fttl_remove_from_template - Removes all instances of a periodic thread from a template.

SYNOPSIS

kern_return_t fttl_get_template_length(template, length)
ft_template_t template;
thread_t *thread;

DESCRIPTION

The fttl_remove_from_template system call scans the specified template for instances of thread and removes them. It then ter- minates the thread.

PARAMETERS

template Specifies a template previously created by create_template or the default template, (template = NULL).
thread The kernel-assigned id for the periodic timeline thread.

RETURN VALUE

KERN_SUCCESS The thread has been removed from the template and terminated.
KERN_INVALID_ARGUMENT template is invalid.

RELATED INFORMATION

Functions:

rt_thread_exit, thread_create, thread_terminate, thread_get_attribute, thread_set_attribute, fttl_thread_create, fttl_thread_attribute_init, rt_set_scheduling_policy, fttl_set_fault_flag, fttl_set_fault_interval, fttl_activate_persist_thread, fttl_enable_periodic, fttl_disable_periodic, fttl_create_template, fttl_activate_template, fttl_add_to_template, fttl_remove_from_template, fttl_clear_template. fttl_get_template_length.