Modeling And Performance Evaluation Of The Thread Protocol