This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Detect if scheduler locked?
> Now I've got a customer who is calling this routine with the
> scheduler locked (in order to prevent other tasks from
> attempting to read the flash while it's busy, I presume).
Semaphores/mutexs sound like the correct answer, with multiple read
lockers but one write locker. Classical stuff you learn in university
when doing a CS degree.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss