Test the clear stack thread attr.
Merge pull request #115 from unknownbrackets/thread-funcs

Test the clear stack thread attr