Fix the race condition of thread::_trigger
Merge pull request #59 from m-yoshimo/coverity-cid-17986

Fix the race condition of thread::_trigger