This is the mail archive of the ecos-patches@sourceware.org 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] |
Hi, Related to post http://ecos.sourceware.org/ml/ecos-discuss/2010-04/msg00026.html, here is a possible small patch to avoid thread "hanging" situation on SMP targets. It can be easily reproduced using the FreeBSD network stack and HTTPD packages. Call to cyg_thread_self() in spl_any() (packages\net\bsd_tcpip\current\src\ecos\synchc) can return wrong value. Regards, Christophe
Attachment:
patch.txt
Description: patch.txt
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |