Re: Unable set the priority for a pthread through pthread_setschedparam

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Srinivas G. a écrit :
> I have tried to set the RLIMIT_RTPRIO to 100 through
> /etc/security/limits.conf. It was not defined previously, so I have
> defined in the following way.
> 
> domain       type    item     value
> #@srinivasg  soft    rtprio   100
you must uncomment the line (remove the #)
then, the given group will have a soft rtprio limit to 100.
This will work, assuming your PAM configuration uses pam_limits.

> After adding the above statement, I have restarted the system.
> 
> Then, I run my simple thread program. There is no luck. I got the same
> error. I have posted the simple thread program in my first email.
> 
> What am I missing here? Please advice.
> 
> Thanks and Regards,
> Srinivas G
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux