From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: ecos-discuss@sources.redhat.com Subject: [ECOS] Main loop user callback mechanism patch attached. Date: Mon, 22 Jan 2001 15:00:00 -0000 Message-id: <20010122170445.A27137@visi.com> X-SW-Source: 2001-01/msg00378.html Attached is a patch that uses the HAL_TABLE mechanism to allow the user to register a main-loop callback routine via the macro RedBoot_loop() much the same why you can register an initialization routine using RedBoot_init(). NB: This patch also changes the main-loop gets() timeout from 250ms to 10ms. I was thinking about making that value adjustable via cdl, but haven't done it. -- Grant Edwards grante@visi.com