From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27500 invoked by alias); 19 Jul 2007 10:56:33 -0000 Received: (qmail 27491 invoked by uid 22791); 19 Jul 2007 10:56:33 -0000 X-Spam-Check-By: sourceware.org Received: from mx27.mail.ru (HELO mx27.mail.ru) (194.67.23.64) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Jul 2007 10:56:28 +0000 Received: from [85.195.160.55] (port=53253 helo=[10.0.0.21]) by mx27.mail.ru with asmtp id 1IBTgH-000PuF-00; Thu, 19 Jul 2007 14:56:25 +0400 Message-ID: <469F421B.70604@mail.ru> Date: Thu, 19 Jul 2007 10:56:00 -0000 From: Alexey Shusharin User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: cetoni GmbH - Uwe Kindler , ecos-discuss@sourceware.org References: <469F24AE.9060907@cetoni.de> <469F3371.2000204@mail.ru> <469F3EE4.3090401@cetoni.de> In-Reply-To: <469F3EE4.3090401@cetoni.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Re: Waiting I/O operation X-SW-Source: 2007-07/txt/msg00150.txt.bz2 cetoni GmbH - Uwe Kindler wrote: > if it is allowed to set flags from DSR (is there a documentation about > this somewhere?!?) I would agree with the callback solution. http://ecos.sourceware.org/docs-latest/ref/kernel-flags.html :-) > You could implement support for registering callback functions at > runtime by calling cyg_io_set_config. The callback function should be > called by CAN I/O layer after the received event is stored into the > event queue. Support for callback functions should be configurable via CDL. Great, it seems good solution. I'm going to use CDL option for this changes and setup callbacks through cyg_io_set_config() too. Regards Alexey -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss