True. sorry, I was a bit absent minded.

on debian
rlim.rlim_cur = 0, rlim.rlim_max = 0

on ubuntu
rlim.rlim_cur = -1, rlim.rlim_max = -1

Aravind.

On 1/13/07, Rob Sherwood <[EMAIL PROTECTED]> wrote:
On Fri, Jan 12, 2007 at 05:34:12PM -0500, as wrote:
> Thanks Rob.
>
> I did some reading up on this. I think what I want when i try to do
>  getrlimit( RLIMIT_RTPRIO, &rlim );
> is
>  rlim.rlim_cur = 0, rlim.rlim_max = -1
> so that the user can use sched_setscheduler.
>
> On ubuntu, I could use sched_setscheduler. But on debian, I can't.
> This could be because on Ubuntu the following holds
> while on Debian it is
>
> I'm trying to figure out how to set the above. or any other way is also
> fine.

I think you failed to paste the relevant parts of the message :-)
You say "because on Ubuntu the following holds", but then don't post
anything :-(

- Rob
.

Reply via email to