This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Threads  RSS feed

 
Rahul Gokhale
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When does a thread get NORM_PRIORITY and when does it get the priority of its parent thread?
 
ravi asthana
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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......
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!