This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: FreeBSD-stack ping is unresponsive upon low priority thread spending 100% CPU
The low priority thread is holding a mutex while it's eating all the CPU.
When I remove this mutex eating all the CPU no longer blocks ping.
This mutex is essentially used to single thread a web server thread
(athttpd) and the application so it is held for *long* periods of time.
There is a shared tcl interpreter between the ahttpd web server and
application.
I can easily believe that priority inversion code is messing things up here,
but I'll have to read up some more to figure out a better way to
achieve the single threading.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
Free eCos workshop in Oslo October 21!
http://www.zylin.com/workshop.html
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss