bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lock, tls, and single-threaded applications


From: Eric Blake
Subject: Re: lock, tls, and single-threaded applications
Date: Tue, 17 Jun 2008 21:55:02 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bruno Haible on 6/17/2008 6:33 PM:
|
| But these header files are already providing no-op code if the user has
| chosen to configure with --disable-threads. The default for this option
is in
| m4/lock.m4, lines 49..55. lock.m4 can export a macro gl_DISABLE_THREADS
| that would set the default to "no threads"; the user could then still use
| --enable-threads. Implemented as follows:
|

Thanks.  Next I'm wondering if we should add a module which invokes
gl_DISABLE_THREADS, as well as pulls in the unlocked-io module, for the
benefit of projects that are known to be single-threaded, as it is
slightly easier to add a module to the list of imports than it is to
modify configure.ac to manually invoke gl_DISABLE_THREADS.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhYhxYACgkQ84KuGfSFAYD9EQCgld9jJMTeDaHbj1250iO2HgyZ
460AoMJj+51bqWnzRjnp151obAWGJioF
=/OyV
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]