Thread Functions API
tvscript_get_thread_property thread_id property
Gets the value of a property about the thread.
The properties you can name are the same as those used with the TV::thread command. See threadfor more information.