Confirmed with gcc 5.1.0 & mingw/winpthread 4.0.2