Commit 265cbe10777ec1f8fa5879d3221645e1f31b85fc

Azat Khuzhin 2020-01-14T00:27:21

test: fix compilation under win32 (rearrange thread_setup() code) (cherry picked from commit 34d51e1bc9c650c4d012fe3024f7777c819ba969)