For processing-docs/#5, adding template for thread() reference