[ECOS] Re: Waiting I/O operation
Uwe Kindler
uwe_kindler@web.de
Sat Jul 21 13:21:00 GMT 2007
This is what the documentation says about flags and DSRs:
http://ecos.sourceware.org/docs-latest/ref/kernel-flags.html
So it seems to be possible to use cyg_flag_setbits() from DSRs.
Andrew Lunn schrieb:
>> But, one my today DSR uses the cyg_flag_setbits() notifier and that
>> works as I could expect. I found that is more simple, because that
>> doesn't need itself in a mutex. I wonder about the right hacking from
>> the eCos experts.
>
> You are not allowed to block in a DSR. So look through the
> cyg_flag_setbits() code and see if it calls any functions to block
> itself.
>
> Andrew
--
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