Squashed 'depends/tinycthread/' content from commit ff06832

git-subtree-dir: depends/tinycthread
git-subtree-split: ff068327a9d7d017bce13d1dbbb99c9433d176d3
Merge commit '91dcfbdb7d69919be7dc853e8c80fc2e0cce3249' as 'depends/tinycthread'
Squashed 'depends/tinythreadpp/' content from commit e21187c

git-subtree-dir: depends/tinythreadpp
git-subtree-split: e21187cb0469964f9b1d8ba784517a2a0d99a796
Merge commit '347024313bd98a60ae263cc7e8fb6c412d89e22f' as 'depends/tinythreadpp'
small build fixes from test on vs2010
added simple cmakelist for build generation