File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Threads and Synchronization
Object that is Locked
Joined: Feb 16, 2006
Sep 11, 2008 11:31:00
If a thread has obtained a lock on an object, i.e. it is within a synchronized block, can another thread modify that object?
When Thread1 is in synchronized block in methodA, can another thread run methodB
Joined: Feb 28, 2007
Sep 11, 2008 11:53:00
Yeah, other non-sync methods could be called simultaneously.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Object that is Locked
Doubt in Threads
thread lock (monitor) question
Synchronization on Threads in Java
Multiple static synchronized methods in one class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014