Update Thread.cpp
Merge pull request #6 from srujank1/patch-6

Update Thread.cpp