On Tue, May 30, 2006 at 03:41:06PM -0600, John Drago wrote:
> class Foo is synchronized {
> ...
> }
>
> our method Bar is synchronized {
> ...
> }
>
> class Baz {
> has $.Bux is synchronized;
> }
To everyone participating in this thread:
There has already been a draft spec for concurrency written, please see
http://svn.perl.org/perl6/pugs/trunk/docs/Perl6/Spec/Concurrency.pod .
It suggests "is critical;" for the first, and second, but I can't see
anything like the third. It also suggests that Perl6 will have
transactions and so will also have "is atomic".
(There's a Google Summer of Code project to add software transactional
memory primitives to parrot.)
--
Benjamin Smith <[EMAIL PROTECTED], [EMAIL PROTECTED]>