permaculture playing cards*
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
Author

Threads

Rahul Gokhale
Greenhorn

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
Greenhorn

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.
ravi......
 
 
subject: Threads
 
Similar Threads
Probably it's my Vision Problem... But is it.?
Daemon Thread
Getting the applet to die on exit...
DAEMON THREAD
Throwing tests away