| Author |
can we do synchronize without a synchronize keyword?
|
Samanthi perera
Ranch Hand
Joined: Jan 08, 2010
Posts: 510
|
|
|
can we do synchronize without a synchronize keyword?
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
It's called synchronized, and the answer is probably no. I say probably, because you can use other locking mechanisms from the java.util.concurrent and java.util.concurrent.locks packages. These may or may not use synchronized internally at some point.
Moving to Threads and Synchronization.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
 |
|
|
subject: can we do synchronize without a synchronize keyword?
|
|
|