| Article: |
10 Reasons We Need Java 3.0 | |
| Subject: | Yes - clean up thread locks | |
| Date: | 2002-08-06 08:56:03 | |
| From: | wmshub | |
|
I agree 100% with your comments on locks. Java's "every object is a synchronization point" is stupid; if there were one object, the "Monitor" object, that could be synchronized on, then you could add it to any object that you want to use, so what's the benefit of having all objects be synchronization points? The problem is often that when I need to synchnronize, what object do I use? There's no way to be sure.
|
||
Women in Technology
Hear us Roar
