fixed a wrong spelling of thread state
Merge pull request #29 from lgnq/master

fixed a wrong spelling of thread state