scsh-users
[Top] [All Lists]

Re: Select in 0.6

To: "Brian D. Carlstrom" <bdc@ai.mit.edu>
Subject: Re: Select in 0.6
From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
Date: 10 Aug 2001 09:01:36 +0200
Cc: Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>, scsh@zurich.ai.mit.edu
>>>>> "Brian" == Brian D Carlstrom <bdc@zurich.ai.mit.edu> writes:

Brian> To me threads aren't real unless they truly can run concurrently on a
Brian> multi-processor. If s48 is ever going to do that, they won't be so
Brian> lightweight. Obviously you can multiplex lightweight threads on top real
Brian> threads. I know some people just like threads for a cleaner programming
Brian> model, which is nice, and in which case you don't need select.

No.  The way Richard has solved this is by allocating a separate VM to
each real processor.  The thread representation basically stays the
way it is.  Saying that Scheme 48 threads "aren't real" is merely a
confusion of terminology.

Brian> So then I'm fine with it, as long as I have a way to multiplex N sockets
Brian> over M threads where N>>M. 

Any application that does this will only become slower because of it.

-- 
Cheers =8-} M.
Friede, Völkerverständigung und überhaupt blabla

<Prev in Thread] Current Thread [Next in Thread>