View Single Post
Old 28th February 2020, 00:33   #9  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by filler56789 View Post
Regarding the GCCs you used in that experiment...

are all of them win32-threaded?
OR posix-threaded?
OR the old ones are win32-threaded and the new ones posix-threaded?
(or vice-versa?)
On Windows, all GCC versions used were Mingw-w64 (via MSYS2), which I think uses libwinpthread. But the application under test doesn't use threads anyway.

BTW: I get almost exactly the same results with GCC 9.2.0 and GCC 5.4.0 on Linux.

Quote:
Originally Posted by nevcairiel View Post
std::threads (which aren't supported on mingw64-gcc anyway for some reason)
I think Mingw-w64 with "posix" threading-model (the one that depends on libwinpthread) does support std::threads, whereas Mingw-w64 with "win32" threading-model doesn't.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 28th February 2020 at 00:43.
LoRd_MuldeR is offline   Reply With Quote