Re: [dev] "channel" construct for inter-thread communication in C programs

From: Ethan Grammatikidis <eekee57_AT_fastmail.fm>
Date: Thu, 9 Sep 2010 18:25:15 +0100

On 9 Sep 2010, at 2:07 pm, Mate Nagy wrote:

> On Thu, Sep 09, 2010 at 08:42:43AM -0400, Corey Thomasson wrote:
>> I was only referring to the channels, not the entire library. I
>> pointed it out more as a potential jumpstart for implementing a
>> select(), etc. I wasn't trying to say cchan was redundant.
> libtask is a good pointer and looks nice (i remember it being
> mentioned
> in this ML before).
>
> unfortunately, I believe the major difficulties with implementing
> select() come from the preemptively multi-threaded nature of the
> environment...

Am I right in thinking if you can spawn threads freely you don't
really need select()? I got that idea somewhere, but I'm a bit hazy
on the logic behind it.
Received on Thu Sep 09 2010 - 19:25:15 CEST

This archive was generated by hypermail 2.2.0 : Thu Sep 09 2010 - 19:36:02 CEST