[ECOS] Pthread problem

Gary Thomas gary@mlbassoc.com
Fri Feb 15 20:19:00 GMT 2008


Davies, Greg wrote:
> -----Original Message-----
> From: Enno Lübbers [mailto:enno.luebbers@upb.de]
> Sent: Thursday, February 14, 2008 3:21 PM
> 
> have you tried using eCos threads instead of pthreads? The pthreads implementation uses Cyg_Threads, so this way you could determine if it's a compat/posix-related problem or whether maybe your eCos scheduler config (or something similar) is wrong.
> 
> 
> Thanks for the suggestion. I tried to run the simple two thread example from the documentation, but I couldn't get it to run. The problem with trying this is that the pthreads are kind of wrapped up in everything, so by the time I get my configuration to the point where I can use Cyg_Threads, I'm debugging a whole different application. I'm going to see if they can run side by side today. I figure that's my best bet.
> 

Have you tried running the standard eCos pthread examples?
In particular, 'pthread2' tests just what you seem to be
having trouble with.

   # make -C compat/posix/current tests

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list