This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
cyg_thread_kill and info threads
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] cyg_thread_kill and info threads
- From: andrew dot lunn at ascom dot ch (Andrew Lunn)
- Date: Mon, 10 Apr 2000 16:41:40 +0200 (MET DST)
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
cyg_thread_kill?
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?
Thanks
Andrew