[ECOS] Detect if scheduler locked?

Andrew Lunn andrew.lunn@ascom.ch
Tue Oct 22 08:45:00 GMT 2002


> 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



More information about the Ecos-discuss mailing list