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.