From: ben <brouits@free.fr>
To: linux-c-programming@vger.kernel.org
Subject: Re: Unable set the priority for a pthread through pthread_setschedparam
Date: Wed, 04 Feb 2009 16:32:46 +0100 [thread overview]
Message-ID: <4989B51E.8010009@free.fr> (raw)
In-Reply-To: <F5BA82141F7AA94885B9643C77EEA5F2103CF8@mail.esntechnologies.co.in>
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-02-04 15:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-03 4:48 Unable set the priority for a pthread through pthread_setschedparam Srinivas G.
2009-02-03 5:44 ` Manish Katiyar
2009-02-03 6:27 ` Srinivas G.
2009-02-03 8:11 ` Manish Katiyar
2009-02-04 1:49 ` Glynn Clements
2009-02-04 6:31 ` Srinivas G.
2009-02-04 15:32 ` ben [this message]
2009-02-04 23:07 ` Glynn Clements
2009-02-05 4:06 ` Srinivas G.
-- strict thread matches above, loose matches on Subject: below --
2009-02-03 4:50 Srinivas G.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4989B51E.8010009@free.fr \
--to=brouits@free.fr \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.