[ECOS] [Fwd: Question about multi-thread programming with cyg_thread_delay() function]

Jonathan Larmour jlarmour@redhat.com
Fri Mar 23 02:55:00 GMT 2001


> Jonathan Larmour wrote:
> 
> Q1.  I have tried to create two threads at the same priority and run at
> the same time. In each thread I call an delay function
> cyg_thread_delay(100), and each thread just run into
> cyg_thread_delay(100) and never wakes again. What's happenning?

I just remembered the likely cause of this - when you built your eCos
configuration, did you set your build directory to an *empty* directory. If
not, do it.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine



More information about the Ecos-discuss mailing list