This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cyg_thread_kill and info threads


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]