This is the mail archive of the ecos-discuss@sources.redhat.com 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: 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


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