This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Deleting threads and GDB.
- To: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] Deleting threads and GDB.
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Thu, 27 Jul 2000 11:43:05 -0700
Hi,
In the list archives, there is a thread about killing and deleting threads.
It is said that when using cyg_thread_kill() the thread remains in fact like
a Zombie. And that the (undocumented) function cyg_thread_delete should be
used to erase completely the thread.
But when I use GDB on a program that use the thread_delete function, the
deleted thread is still in the list of processes.
And when I step throught the thread_delete function the thread disappear
from the process list.
Thanks
A+
--
Fabrice Gautier
fabrice_gautier@sdesigns.com