This is the mail archive of the ecos-discuss@sources.redhat.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] |
Other format: | [Raw text] |
Don't call cyg_thread_delete() on the current thread! cyg_thread_delete() calls cyg_thread_kill() which (since this is the current thread) calls cyg_thread_exit(), which calls the destructor again, which calls..../* Hello! I use BDI2000, at91eb40, gcc 3.0.4, linux I tried to use thread destructors, but with code below I've got infinite loop calling thread_destructor(). What is wrong with my code?
Yes.How to use destructors properly? In which context are destructors called? Aren't they called in context of exited thread??? :(
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |