Hi

How to change thread Priority in linux.

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

int pthread_attr_setschedparam(pthread_attr_t *tattr, const struct sched_param *param);

consult google for such questions :). it will show you more answers.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.