Getting std::thread/mutex to work under Win7 with mingw and g++ 4.7.2

前端 未结 2 1462
无人共我
无人共我 2020-12-05 10:25


Greetings,

I\'ve recently moved out of my unix shelter to test a supposedly cross-platform networking library only to discover that mingw doesn\'t like to

相关标签:
2条回答
  • 2020-12-05 10:46

    Look also here: https://github.com/meganz/mingw-std-threads This is a lighter, native implementation of std::thread and others, without using the win32 port of pthreads.

    0 讨论(0)
  • 2020-12-05 11:02

    These MinGW-w64 builds support C++11 threads,atomic operations etc.

    1. MinGW-builds are now integrated into the MinGW-w64 project
    2. MinGW-builds (project is old and will not be updated, see point above)
    3. MinGW-w64 rubenvb 64-bit and 32-bit builds

    Note that MinGW-w64 is not 64-bit only, but does support it, unlike the old MinGW(.org) which is missing quite a lot of the new Vista+ APIs, and of course 64-bit support.

    0 讨论(0)
提交回复
热议问题