On onsdag, juli 24, 2002, at 11:39 , Elizabeth Mattijsen wrote:
> > Ok with me, I'm interested in functionality only... and some way to be > able to explain it to people... ;-) So the list would be: > > unshared current state if not shared: copied when cloning > shared accessible to all threads, not copied > unique only accessible in thread, not copied > > ? > > no, unique is already used, it makes it readonly between all threads why do we need three states my $foo; #depends on global sharedness my $foo : shared; #always shared my $foo : unshared; # never shared my $foo : unique; #shared readonly between all threads Arthur
