bug-hurd
[Top][All Lists]
Advanced

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

Re: Cthread2Pthread


From: Thomas Bushnell, BSG
Subject: Re: Cthread2Pthread
Date: 02 Dec 2002 09:13:20 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Roland McGrath <roland@gnu.org> writes:

> > We still need a way to keep track of what they are, and the existing
> > mechanism is basically the only way.  We can either implement it with
> > a wrapper around pthread conditions, or exted pthread conditions.  The
> > latter seems better.
> 
> Or, as I suggested, all the users (all four of them) of this interface
> could just use the standard interface instead, i.e. signal several conds.

Right, and like I said, they need a way to keep track of which
conditions they need to signal.  They will probably hold them on a
linked list, and call one function that signals the lot.  Oh wait!
That's what we have now!

So the question is only whether this is to be layered on top of
pthreads, or an extension of pthreads.

Thomas




reply via email to

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