Used to access thread-specific data in external functions.
function threadData output ThreadData threadData; end threadData;