This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Unix friendly Idle loop
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] Unix friendly Idle loop
- From: lunn at ma dot tech dot ascom dot ch (Andrew Lunn)
- Date: Wed, 29 Sep 1999 09:21:22 +0200 (MET DST)
Hi Folks
When the Synthetic target executes the idle thread it spins, eating
the CPU. Could this be made a bit more friendly to other processes?
I thought about installing a function in the
HAL_IDLE_THREAD_ACTION
which calls select(2).
Is this likly to break anything?
Thanks
Andrew
--
Andrew Lunn
Research Engineer
Phone +41 62 889 52 97
Fax +41 62 889 52 90
Andrew.Lunn@ascom.ch
Ascom Systec Ltd.
Applicable Research & Technology
Gewerbepark
CH-5506 Maegenwil
Switzerland
www.ascom.com/art