NAME
fttl_clear_template
- Removes all instances of all periodic threads from a template.
SYNOPSIS
kern_return_t fttl_clear_template(template)
ft_template_t template;
DESCRIPTION
The fttl_clear_template system call scans the specified template removing all instances of all threads. It also terminates the threads.
PARAMETERS
template
Specifies a template previously created by create_template or the default template, (template = NULL).
RETURN VALUE
KERN_SUCCESS
All threads have 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.