add thread version
Merge branch 'master' of github.com:knobli/c_programming