Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: How Are Attributes Useful?

by beauregard (Monk)
on Jan 18, 2005 at 22:55 UTC ( [id://423213]=note: print w/replies, xml ) Need Help??


in reply to Re: How Are Attributes Useful?
in thread How Are Attributes Useful?

"shared" variables in threads::shared is a good real-world example of attribute use.

And the now deprecated "locked" attribute works (worked) almost identically to how Java handles the synchronized keyword on methods...

c.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://423213]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2024-04-24 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found