scsh-users
[Top] [All Lists]

Re: Scsh thread question

To: scsh-news@zurich.csail.mit.edu
Subject: Re: Scsh thread question
From: Michael Sperber <sperber@informatik.uni-tuebingen.de>
Date: Sun, 02 Nov 2003 12:02:32 +0100
>>>>> "ZHAO" == ZHAO Wei <zhaoway@public1.ptt.js.cn> writes:

ZHAO> That, the lock-get function always returns #t no matter what been set
ZHAO> in another thread using lock-set.

A race seems the most likely explanation.

ZHAO> Another question is that, I can't seem to be able to understand the
ZHAO> necessity of the placeholders functions given the availability of the
ZHAO> locks functions. Can you please tell me the rationality behind it?
ZHAO> Thanks again!

Placeholders are a common abstraction in concurrent applications.
Moreover, they hold far less chance of making common
concurrency-related mistakes than locks.

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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Scsh thread question, Michael Sperber <=