NAME

fttl_instance_self - Return the instance of the currently executing persistent timeline thread.

SYNOPSIS

unsigned int fttl_instance_self()

DESCRIPTION

The fttl_instance_self system call returns the unique instance number which identifies an instance of a persistent timeline thread on the timeline. It allows an instance of a persistent thread to identify itself while it is executing. This number is also returned to the parent thread by the fttl_activate_persist_thread system call when an instance is scheduled.

PARAMETERS

None

RETURN VALUE

instance The unique instance number of the currently executing persistent thread.
0 The current thread is not an instance of a persistent timeline thread.

RELATED INFORMATION

Functions:

rt_set_scheduling_policy, fttl_set_fault_flag, fttl_set_fault_interval, thread_set_name, fttl_thread_attribute_init, fttl_thread_create, fttl_instance_self, fttl_deactivate_persist_thread. fttl_activate_persist_thread.