[3123] in java-interest
What object do "static synchronized" methods synchronize
daemon@ATHENA.MIT.EDU (Bob Beck)
Tue Oct 31 21:33:02 1995
Date: Tue, 31 Oct 95 17:08 PST
To: java-interest@java.sun.com
From: Bob Beck <rbk@ibeam.jf.intel.com>
I've verified that a method may be declared "static synchronized", and that
the synchronization works (ie, remove the "synchronized" attribute and it
races). Now I'm curious: what object does such a method synchronize
against? The class?
--
Bob Beck rbk@ibeam.intel.com CompuServe: 71674,106
Intel Corporation (503)264-8856 AOL: RDBeck
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com