hi,
is possible due use c11 thread ( std::thread ) setting flag -std=gnu++11 (e.g., in platform.txt file - or else ) ?
http://www.cplusplus.com/reference/thread/thread/
is possible due use c11 thread ( std::thread ) setting flag -std=gnu++11 (e.g., in platform.txt file - or else ) ?
http://www.cplusplus.com/reference/thread/thread/
umm, no. compiler can compile c++ due there cut down standard library , aren't going have things std::thread functionality. so, if want use lambda functions , other c++11 goodies, go ahead , set flag , it. but, don't expect little 84mhz processor half megabyte of storage space going include multi-megabyte runtime library! there threading libraries due though.
Arduino Forum > Products > Arduino Due (Moderator: fabioc84) > flag -std=gnu++11: possible to use C11 thread ( std::thread ) ?
arduino
Comments
Post a Comment