Java General - Locking Objects for Exclusive Use
Interview Question Database For Software Developers
|
|
| Locking Objects for Exclusive Use | | Can Java object be locked down for exclusive use by a
given thread? | | By: 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.
| | ID: 108 | Rank: 1597 | Votes: 0 | Views: 500 | Submitted: 20070303 |
1610 :-) | | Multi-Threading | | How does multi-threading take place on a computer with
a single CPU?... | | Submitted: 20070303 |
|
Copyright © 2009 FYIcenter.com
All rights in the contents of this Website are reserved by the individual author.
No part of the contents may be reproduced in any form without author's permission.
|
|
|