jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Thread failure and unlocking." Watch "Thread failure and unlocking." New topic

Thread failure and unlocking.

Niall ORiordan

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?

Max Habibi
town drunk
( and author)

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.

Java Regular Expressions
Niall ORiordan

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.
It's not a secret anymore!