[ECOS] Question on disk_bwrite and disk_bread

Lecordier, Guy Guy.Lecordier@paclp.fr
Tue Jul 28 07:32:00 GMT 2009

Hello all,

I am having troubles in the disk_bwrite() and disk_bread() of disk.c (ecos3.0).

When (funs->write) or (funs->read) return an error the program goes to "done" and  disk_bwrite() or disk_bread() exit with the ctlr->busy = true;
At the next call of disk_bwrite() and disk_bread(), these functions block indefinitely at while( ctlr->busy ).
My question is how busy goes to false when the low level routine returns an error?

Thanks a lot,


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list