C++ mutex in namespace std does not name a type

前端 未结 11 936
日久生厌
日久生厌 2020-11-28 13:22

I\'m writing a simple C++ program to demonstrate the use of locks. I am using codeblocks and gnu gcc compiler.

 #inclu         


        
11条回答
  •  感动是毒
    2020-11-28 13:51

    This has now been included in MingW (Version 2013072300). To include it you have to select the pthreads package in the MinGW Installation Manager.

    Pthreads package options from MingW Installation Manager

提交回复
热议问题