On Thu, 2009-03-26 at 01:01 +0100, Bruno Haible wrote:
> - pthread.m4 assumes that in order to use threads, it is only necessary to
> add some library at link time. But this is not enough:
> - On OSF/1 and Solaris, -D_REENTRANT needs to be added to CPPFLAGS.
> - On AIX and FreeBSD, -D_THR
Bruno Haible writes:
> If you think that using the POSIX API literally is important, how about
> changing the gnulib threading modules to adopt the POSIX API (with
> limitations where necessary)?
Yes, that would be nice. We want the source code to look like POSIX.
Also, part of the idea,
Hi Paul,
Two remarks about the pthread module:
- You are certainly aware of the modules 'thread', 'tls', 'lock', 'cond',
'yield' that we have in gnulib? While the new 'pthreads' module wants to
be "a trivial subset of the pthreads library", the aforementioned modules
provide an API very sim