1 2 Previous Next 25 Replies Latest reply on Mar 26, 2015 8:09 AM by Thomas Lyet

    std::mutex

    jblackston

      I'm trying to use the STL for the thread and mutex work for my code that's been ported from different platforms. I understand that for Linux the STL is just a wrapper for pthreads, but this code is used in different platforms so I want to maintain the language portability.

       

      For some reason I get a "type std::mutex can not be resolved" error. I have the c++ setting to C++11 for the compiler, but still can't get it to compile with out errors. Of course I've included the #include <mutex> header.

       

      Also on a side note, is there a way to update the GNU/G++ compiler used for the linux eclipse, and windows eclipse build that comes with the iotdk-ide zip files.

       

      -Jason

        1 2 Previous Next