ccs pthread impl
testing and product improve