It's not a secret anymore!
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Threads" Watch "Threads" New topic


Rahul Gokhale

Joined: Dec 27, 2000
Posts: 7
When does a thread get NORM_PRIORITY and when does it get the priority of its parent thread?
ravi asthana

Joined: Dec 27, 2000
Posts: 2
hi rahul,
as far as i know, NORM_PRIORITY is default priority. so if you create any thread and do not exclusively assign any priority to this thread then it gets the default priority.but if it is a child thread or if it belongs to a thread group in that case it's default priority is same as that of parent thread or thread group.
i hope it clears your doubt.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Threads
jQuery in Action, 3rd edition