CAN waking calls

Andrew Lunn andrew@lunn.ch
Fri Aug 10 14:18:00 GMT 2007


On Mon, Aug 06, 2007 at 10:47:03AM +0700, Alexey Shusharin wrote:
> Hello all,
> 
> This patch adds waking calls functionality to CAN I/O driver. Now CAN
> application can wake up threads, when CAN event is arrived, without
> accessory thread.
> 
Hi Alexey

I reworked your patch a little. I renamed wake to callback, which is
more generic. You can do real work in DSRs, you just have to be
careful. So you don't always need to wake up a thread.

Since there is no test case for this new feature, it is possible i
have broken it. So please can you test it. If it all works i will then
commit it.

Do you think you could add a testcase to the can loop back driver
which uses this feature?

     Thanks
        Andrew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: can_callback.diff
Type: text/x-diff
Size: 7409 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20070810/ada6034d/attachment.bin>


More information about the Ecos-patches mailing list