This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++, how to set gcc on a multithread environment ?


2009/7/27 Federico Terraneo:
>
> Even this was compiled with --enable-threads, but reports "Thread model:
> single"
> I guess it is because there's no default thread model for bare metal/RTOS
> based devices.
>
> Is this going to cause troubles? If yes, anyone has an idea of how to fix
> this situation?
> (Please consider that I'm using many parts of libstdc++, like <vector>,
> <string>, <list>, <bitset>, <algorithm> and exceptions)

Are you using threads in your program?  If not, then it doesn't matter
that the compiler is built without thread support.

Jonathan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]