File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Thread failure and unlocking. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Thread failure and unlocking." Watch "Thread failure and unlocking." New topic
Author

Thread failure and unlocking.

Niall ORiordan
Greenhorn

Joined: Jul 22, 2003
Posts: 15
Hi all,
I was just thinking about the following scenario...
Thread 1 locks a record and straight away, the thread fails (for some unknown reason). Do I need to make sure that the locked records of this thread are released after the thread dies?
Or is this beyond the scope of the assignment?


SCJP<br />SCJD
Max Habibi
town drunk
( and author)
Sheriff

Joined: Jun 27, 2002
Posts: 4118
Hi Niall,
IMO, it's beyond the scope of the assignment. If you can make everything work under a fully functional system, then you're fine.
M


Java Regular Expressions
Niall ORiordan
Greenhorn

Joined: Jul 22, 2003
Posts: 15
Cheers Max,
I saw another post of yours regarding the same thing....And I see your point.
Thanks a million.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Thread failure and unlocking.