From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2836 invoked by alias); 21 Jul 2007 13:21:29 -0000 Received: (qmail 2828 invoked by uid 22791); 21 Jul 2007 13:21:28 -0000 X-Spam-Check-By: sourceware.org Received: from fmmailgate03.web.de (HELO fmmailgate03.web.de) (217.72.192.234) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 21 Jul 2007 13:21:25 +0000 Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate03.web.de (Postfix) with ESMTP id 7B2FD8DDB401; Sat, 21 Jul 2007 15:21:23 +0200 (CEST) Received: from [77.179.171.104] (helo=[192.168.178.23]) by smtp07.web.de with asmtp (WEB.DE 4.108 #197) id 1ICEtf-0000mU-00; Sat, 21 Jul 2007 15:21:23 +0200 Message-ID: <46A207FB.1020302@web.de> Date: Sat, 21 Jul 2007 13:21:00 -0000 From: Uwe Kindler User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Sergei Gavrikov , Alexey Shusharin , cetoni GmbH - Uwe Kindler , ecos-discuss@sourceware.org References: <469F24AE.9060907@cetoni.de> <469F3371.2000204@mail.ru> <1184842025.17705.16.camel@sg-ubuntu> <20070720193516.GD28161@lunn.ch> In-Reply-To: <20070720193516.GD28161@lunn.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Sender: uwe_kindler@web.de 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/msg00165.txt.bz2 This is what the documentation says about flags and DSRs: http://ecos.sourceware.org/docs-latest/ref/kernel-flags.html So it seems to be possible to use cyg_flag_setbits() from DSRs. Andrew Lunn schrieb: >> But, one my today DSR uses the cyg_flag_setbits() notifier and that >> works as I could expect. I found that is more simple, because that >> doesn't need itself in a mutex. I wonder about the right hacking from >> the eCos experts. > > You are not allowed to block in a DSR. So look through the > cyg_flag_setbits() code and see if it calls any functions to block > itself. > > Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss