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

Synchronized / Thread syntax in Perl 6

Thread Next
John Drago
May 31, 2006 02:11
Synchronized / Thread syntax in Perl 6
Message ID:
I asked this via the Google Groups interface a few weeks ago, but I'm not sure if it made it here.
I am asking again in case the question never made it onto the list.

Has the syntax for synchronized/threaded @things been worked out?
For example:

class Foo is synchronized {

our method Bar is synchronized {

class Baz {
  has $.Bux is synchronized;

...or is there some new, less Java-esque way to express "only one thread may access this thing at a time"?

John Drago | VP Software Engineering 

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About