This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Pthread problem
- From: "Davies, Greg" <Greg dot Davies at Ultra-UEMS dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 15 Feb 2008 07:40:21 -0400
- Subject: RE: [ECOS] Pthread problem
-----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.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss