From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27755 invoked by alias); 26 Sep 2003 06:36:47 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 27746 invoked from network); 26 Sep 2003 06:36:44 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by sources.redhat.com with SMTP; 26 Sep 2003 06:36:44 -0000 Received: (qmail 20926 invoked by uid 65534); 26 Sep 2003 06:36:43 -0000 Received: from 1Cust41.tnt49.rtm1.nld.da.uu.net (EHLO ericnt) (213.117.16.41) by mail.gmx.net (mp009) with SMTP; 26 Sep 2003 08:36:43 +0200 X-Authenticated: #14554654 Message-ID: <000201c383f8$ad27a350$e33922c7@ericnt> From: "Eric de Jong" To: "eCos discussion" References: Date: Fri, 26 Sep 2003 06:36:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: Re: [ECOS] 1ms polling period X-SW-Source: 2003-09/txt/msg00476.txt.bz2 >> I have to do some hardware polling every 1-5 ms. >> What is the best way to do that in ecos? Using a spare timer seems the best solution to me. It will garantee your polling interval, and changes to your main application (more workload, adding threads) later will not affect this. Eric -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss