[Top][All Lists]

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

cthreads vs. pthreads (was: GNU/Hurd in german news)

From: olafBuddenhagen
Subject: cthreads vs. pthreads (was: GNU/Hurd in german news)
Date: Tue, 17 Nov 2009 00:03:28 +0100
User-agent: Mutt/1.5.19 (2009-01-05)


On Mon, Nov 16, 2009 at 12:57:32AM +0800, Da Zheng wrote:
> Samuel Thibault wrote:
> > Da Zheng, le Sun 15 Nov 2009 12:05:01 +0800, a écrit :

> >> I thought GNOME or KDE couldn't work because Hurd components or
> >> libraries were still using cthreads instead of pthreads.
> > 
> > I don't see why.  Could you find a post explaining that?

> No, I just heard that GNOME and KDE use pthreads but Hurd components
> use cthreads. Or maybe it's just my misunderstanding. If GNOME or KDE
> uses some Hurd libraries which use cthreads, then it should be a
> problem.

There used to be a time when the Hurd didn't have pthreads at all -- but
this changed many years ago with Neal's pthreads implementation.

The remaining problem is that the Hurd translators and server libraries
still use ctreads, and thus programs linking these can't use pthreads.
But that doesn't apply to "normal" programs -- these just link the
client-side library (libc), which doesn't use cthreads.


reply via email to

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