This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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 agree. Here's the link:
subject: Threads
It's not a secret anymore!