This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] make 'pthreads' always an alias for 'posix'


On Oct  7, 2003, DJ Delorie <dj@redhat.com> wrote:

>> DJ, Alex, opinions?  Is there something I'm missing?

> It would be better to ask the people maintaining the thread files.
> They may be in the process of deprecating the "pthreads" name, so I'd
> get their OK first.  Since there is no separate gthr-pthreads, I see
> no *syntactical* reason not to apply your patch, but note that it will
> allow --enable-threads=pthreads on platforms that previously didn't
> allow it.

And without a corresponding change in libstdc++ (and maybe libjava and
libobjc, I don't recall whether they actually care about the thread
model?), things might break.

I won't oppose to such a change if it's done wherever the thread model
is chosen.

But then, we might be better off simply changing the command line, or
outright rejecting it, in the top-level configure...

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]