On 12/20/07 C S Vadiraj wrote:
> > --- mono/mini/driver.c  2007-12-19 15:04:53.000000000 -0800
> > +++ mono/mini/patched-driver.c  2007-12-19 15:05:20.000000000 -0800
> > @@ -706,8 +706,16 @@
> >  
> >  #if HAVE_SCHED_SETAFFINITY
> >         if (getenv ("MONO_NO_SMP")) {
> > +#  ifdef GLIBC_RHEL3_SCHED_SETAFFINITY
> > +                cpu_set_t proc_mask;
> > +                CPU_ZERO(&proc_mask);
> > +                CPU_SET(0, &proc_mask);
> > +
> > +                sched_setaffinity (getpid(), &proc_mask);
> 
> You sure sched_setaffinity takes only two parameters. I feel the issue is not 
> in here but in 
> glibc.

Older Red Hat shipped with a broken sched_setaffinity() interface.

lupus

-- 
-----------------------------------------------------------------
[EMAIL PROTECTED]                                     debian/rules
[EMAIL PROTECTED]                             Monkeys do it better
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to