Implemented the parsing process of thread