Moved thread states from module to header
Merge pull request #874 from marcas756/PullReq-MT_STATES

Enhancement : Moved thread states from module to header
Merge commit 'ce49276e80ca7f55ca742afdcaf49956311e4f47' into HEAD