943,641 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 367
  • C++ RSS
Jul 28th, 2009
0

How to control thread Priority

Expand Post »
Hi

How to change thread Priority in linux.
Last edited by macla; Jul 28th, 2009 at 9:07 am.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
macla is offline Offline
15 posts
since Jul 2009
Jul 28th, 2009
1

Re: How to control thread Priority

if you are using pthread then you can use the following API.

C++ Syntax (Toggle Plain Text)
  1. int pthread_attr_setschedparam(pthread_attr_t *tattr, const struct sched_param *param);

consult google for such questions . it will show you more answers.
Reputation Points: 113
Solved Threads: 20
Junior Poster
Laiq Ahmed is offline Offline
147 posts
since Jun 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: .net url rewritten using cpp
Next Thread in C++ Forum Timeline: HELP!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC