[Top][All Lists]

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

Re: L4Hurd at Sourceforge

From: Jeroen Dekkers
Subject: Re: L4Hurd at Sourceforge
Date: Tue, 23 Oct 2001 03:28:30 +0200
User-agent: Mutt/1.3.23i

On Tue, Oct 23, 2001 at 02:59:33AM +0200, Farid Hajji wrote:
> Unfortunately, the Hurd sources themselves use C-Threads. However, they
> use them only in a few places. I see no reasons why those few calls can't
> be changed to Pthreads calls (with macros?) even now in the Hurd sources.

This is not going to work, see below

> The Hurd-part of Pthreads should be discussed on bug-hurd, CC-ing to
> l4-hurd. What we (l4-hurd) need here is _not_ a glibc "enhancement" to
> support pthreads. We need simple Pthreads-wrappers around C-Threads and
> changes to the Hurd sourcecode, so that it uses the Pthreads wrappers
> instead of the direct C-Threads calls. In L4Hurd, we'll simply replace
> those wrappers with code of our own to access either a future Pthreads
> library provided by L4 developers, by OSKit or a Pthreads library of
> our own. [At least, this makes sense to me right now].

Pthreads is a little bit more complicated. We need to rewrite parts of
libc to support it, especially the signalling code (at least this is
what I've read, I'm still busy finding my ways in the current pthreads
code). The pthreads code will be a generic pthreads implementation in
glibc, for Mach/Hurd, L4/Hurd but also Linux and other kernels.
The pthreads code in oskit is not a full implementation, just a subset.

The current code is in the hurd sourceforgetit CVS (created before
sourceforge went proprietary). I don't have an account there, however I
have just made a savannah account. If we start a project for l4-hurd at
savannah, should I include the pthreads code there? (it won't go into
the official glibc before it's finished and that takes some time). Or
should I start an own project for pthreads? 

Jeroen Dekkers
"all the _really_ interesting stuff will be going on in user space."
        --Linus Torvalds
"just say NO TO DRUGS, and maybe you won't end up like the Hurd people."
        --Linus Torvalds, "I was never a "big thinker""

Attachment: pgp2dZQRJicHI.pgp
Description: PGP signature

reply via email to

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