[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interaction of pthreads and cthreads
From: |
Jeff Bailey |
Subject: |
Re: Interaction of pthreads and cthreads |
Date: |
Thu, 26 Apr 2001 16:38:22 -0700 |
User-agent: |
Mutt/1.2.5i |
On Thu, Apr 26, 2001 at 05:54:22PM -0400, Igor Khavkine wrote:
> > I had never anticipated anyone trying to implement pthreads for the Hurd
> > in any way but by a substantial rewrite of the libc hurd code.
>
> When pthreads will actually be implemented. Do you think it would
> be a good idea to rewrite the parts of glibc and hurd that use
> cthreads now? It seems that there should be no reason to have two
> competing thread implementations used in the same applications.
>
> Or is it too much work for little gain?
The libc-hurd code seems to use the internal interfaces of the
threading library, instead of the public interface. I haven't looked
much at it beyond this yet, but if there's a strong requirement to do
this, then it's not really possible to rewrite it before the threading
interfaces are decided upon.