develooper Front page | perl.perl6.language | Postings from May 2006

Re: Concurrency: hypothetical variables and atomic blocks

Thread Previous | Thread Next
From:
Sam Vilain
Date:
May 31, 2006 16:53
Subject:
Re: Concurrency: hypothetical variables and atomic blocks
Message ID:
447E2C5B.30809@vilain.net
Daniel Hulme wrote:

>>How does an atomic block differ from one in which all variables are
>>implicitly hypotheticalized?
>>    
>>
>I assume that the atomicness being controlled by some kind of lock on
>entry, it also applies to I/O and other side-effecty things that you
>can't undo.
>

The lock on entry approach will only be for non-threaded interpreters
that don't know how to do real STM.

Sam.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About