threadtest.cc added [UNEXPECTED] flags