[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cthread2Pthread
From: |
Thomas Bushnell, BSG |
Subject: |
Re: Cthread2Pthread |
Date: |
01 Dec 2002 12:41:44 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Roland McGrath <roland@frob.com> writes:
> > We need pthread implementations (as GNU extensions) for them.
>
> I am not convinced we really need it. The caller can just signal several
> conditions. If this were used in more than two places, it could be done
> with a wrapper around lists of conds. But it's not, so the code could as
> easily be changed to signal all relevant conds directly.
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.