[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multithread CPPFLAGS
From: |
Bruno Haible |
Subject: |
Re: multithread CPPFLAGS |
Date: |
Thu, 21 Aug 2008 12:28:31 +0200 |
User-agent: |
KMail/1.5.4 |
Yoann Vandoorselaere wrote:
> Most program using the library currently don't (and probably won't)
> depend on GnuLib. They are not multithread programs, and in order to
> enable the library threaded features, we have to export correct
> CFLAGS/LIBS to theses application so that they can compile with
> threading enabled.
I agree regarding LIBS, but not regarding CPPFLAGS. If the program only
ever sees one thread, even though the library uses multiple threads behind
its back,
- it does not need to #include <pthread.h>, and
- it does not need to see a thread-aware errno,
hence it does not need to compile with THREADCPPFLAGS.
Bruno
- Re: Lock module improvement, (continued)
- Re: Lock module improvement, Bruno Haible, 2008/08/02
- Re: Lock module improvement, Yoann Vandoorselaere, 2008/08/02
- Re: Lock module improvement, Bruno Haible, 2008/08/03
- Re: Lock module improvement, Yoann Vandoorselaere, 2008/08/04
- Re: Lock module improvement, Bruno Haible, 2008/08/14
- Re: Lock module improvement, Bruno Haible, 2008/08/17
- Re: Lock module improvement, Bruno Haible, 2008/08/18
- Re: Lock module improvement, Yoann Vandoorselaere, 2008/08/18
- Re: multithread CPPFLAGS, Bruno Haible, 2008/08/20
- Re: multithread CPPFLAGS, Yoann Vandoorselaere, 2008/08/21
- Re: multithread CPPFLAGS,
Bruno Haible <=
- Re: multithread CPPFLAGS, Yoann Vandoorselaere, 2008/08/21
- Re: multithread CPPFLAGS, Matthew Woehlke, 2008/08/21
- Re: multithread CPPFLAGS, Yoann Vandoorselaere, 2008/08/25
- Re: multithread CPPFLAGS, Bruno Haible, 2008/08/25
- Re: multithread CPPFLAGS, Yoann Vandoorselaere, 2008/08/25
- Re: multithread CPPFLAGS, Matthew Woehlke, 2008/08/25
- Re: multithread CPPFLAGS, Ralf Wildenhues, 2008/08/26