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

[nptl] Re: SCHED_RR issue



Hi, 

> > I'll post the program on the forum ASAP. 
> > People having access to SMP machines are urged to try it out ;-)
> 
> I can test on 2x and 8x IA32 with linux. I may also access IA64 and PPC
> machines with linux. And also some AIX and Solaris boxes. But I don't
> know the delays...

I was so excited about posting the program that I forgot the tell you the 
following: it is OK for the program to fail on a single CPU system. 
Hope that was clear when reading the source ;-)

[
Normally, on a single CPU system no thread at all with prio p should run. 
But that's modulo the printf() in the [i]testdrv_thread[/i] running at
prio p+1. Guess, that in practice, some threads might start, though the 
counter shouldn't be very high... 
]
 

Cheers, 
Loic. 

-- 
--
// Sender address goes to /dev/null (!!) 
// Use my 32/64 bits, ANSI C89, compliant email-address instead:   

unsigned y[]=
{0,34432,26811,16721,41866,63119,61007,48155,26147,10986};
void x(z){putchar(z);}; unsigned t; 
main(i){if(i<10){t=(y[i]*47560)%65521;x(t>>8);x(t&255);main(++i);}}

Supergünstige DSL-Tarife + WLAN-Router für 0,- EUR*
Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl

Liste de diffusion nptl
Pour se désinscrire : mailto:nptl_request@bullopensource.org?subject=unsubscribe