Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Locking Objects for Exclusive Use
Can Java object be locked down for exclusive use by a given thread?
✍: FYIcenter
Yes. You can lock an object by putting it in a "synchronized" block. The locked object is inaccessible to any thread other than the one that explicitly claimed it.
2007-03-03, 8018👍, 0💬
Popular Posts:
Once I have developed the COM wrapper do I have to still register the COM in registry? Yes.
Can you prevent a class from overriding ? If you define a class as “Sealed” in C# and “NotInheritab...
If cookies are not enabled at browser end does form Authentication work? No, it does not work.
Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written...
What invokes a thread's run() method? After a thread is started, via its start() method of the Threa...