[Gc] threads under android

Marcos_David.Dione at sophia.inria.fr Marcos_David.Dione at sophia.inria.fr
Tue Jan 12 09:26:38 PST 2010

  gc's configure.ac file has this code for testing for threads:

  [AC_HELP_STRING([--enable-threads=TYPE], [choose threading package])],
  [ AC_MSG_CHECKING([for thread model used by GCC])
    THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
    if test -z "$THREADS"; then

  thing is, android's toolchain answers 'single', but then they implement
a good part of pthreads in bionic. so the question is: what does this
'single' mean, that the tools cannot generate a threading binary? if
not, wouldn't the test be wrong? I'm completely clueless about this and
I can't seem to find relevant info. does anyone know?

Lic. Marcos Dione
Engineer Expert - Hop Project
INRIA Sophia Antipolis - Méditerranée
Phone: +33 (0)4 92 38 79 67

More information about the Gc mailing list