This is the mail archive of the ecos-discuss@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]

Re: Re: Waiting I/O operation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]