pthread: assert in getthreadname
windows: get this up to speed again
windows: Win.c -> Windows.c