This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
I call cyg_mbox_get in DSR, System corrupt.
- From: redheart <ttxgoodboy at 163 dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 19 Apr 2007 08:04:25 -0700 (PDT)
- Subject: [ECOS] I call cyg_mbox_get in DSR, System corrupt.
I firstly called cyg_mbox_get in DSR, and block certain thread
then i called cyg_mbox_put in another thread,
then the scheduler attempt to wake up the blocked thread
but at the time of switching context, the system corrupt.
the debugger show that "previus frame inner to this frame (corrupt stack?)"
I know that call blockable function in a DSR is illegal.
but i don'r know what resulted in the corrupt.
why?
--
View this message in context: http://www.nabble.com/I-call-cyg_mbox_get-in-DSR%2C-System-corrupt.-tf3607513.html#a10079093
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss