pthread: initial add