[ECOS] twothreads.c not working correctly on ARM AEB1
Jonathan Larmour
jlarmour@redhat.co.uk
Tue Jun 13 08:03:00 GMT 2000
javelina wrote:
> Continuing.
> Entering twothreads' cyg_user_start() function
> Beginning execution; thread data is 0
> Beginning execution; thread data is 1
> Thread 0: and now a delay of 1104334939 clock ticks
> Thread 1: and now a delay of 1149184530 clock ticks
>
> Notice the HUGE delay. It should be something between 200 and 250.
I haven't seen this before. Is this the default configuration? If not,
check what differs from the default. Also enable assertions (just in case
it catches something) and also tracing so you can see if there's some
problem with the per-thread data that rand() obtains from the kernel, for
example.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault
More information about the Ecos-discuss
mailing list