[ECOS] cyg_thread_kill and info threads

Andrew Lunn andrew.lunn@ascom.ch
Mon Apr 10 07:41:00 GMT 2000

Hi Folks

Could someone explain to me what happens to a threads after you call
cyg_thread_kill() on it. 

Gdb's info thread shows the thread even though its been killed and
i've deallocated all its memory and probably realocated the memory to
another thread. Is the thread realy dead after calling

My code dynamically creates and destroys threads and cyg_thread_create
seems to have a problem once i have just over 100 threads either
running or killed. It looks like one of the mlqueue queues becomes
circular.  Before i debug this i would like an overview of what
happens to killed threads? 


More information about the Ecos-discuss mailing list