On Wed, August 4, 2010 8:45 pm, Jonathan Wakely wrote: > On 4 August 2010 13:56, Marcos Dione wrote: >> so, in short: does a simple Thread model have any impact on C-only >> programs that could use threads? in particular, how it does impact >> Boehm's GC usage in a C-only program? if the impact is negative, would > > IIUC GCC's thread model doesn't affect how you use threads in your own > program, only how GCC's libraries (e.g. the C++ and ObjC runtimes) use > threads.
so it is wrong that some projects (in particular, Boehm's GC) test thread availability by looking at the output of 'gcc -v' because that would be assuming that it will use the same libraries compiled along with that gcc? in particular, this platform uses its own libc implementation... also, you don't mention libc at all. is it different with it? and last one: can anyone explain *how* it affects stdlibc++ and others? -- Lic. Marcos Dione Engineer Expert - Hop Project http://hop.inria.fr/ INRIA Sophia Antipolis - Méditerranée Phone: +33 (0)4 92 38 79 67