pthread: initial add
added pthread test case