From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3560 invoked by alias); 30 May 2008 06:35:26 -0000 Received: (qmail 3546 invoked by uid 22791); 30 May 2008 06:35:25 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 30 May 2008 06:35:08 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1K1yCW-0002Pu-00; Fri, 30 May 2008 08:34:56 +0200 Date: Fri, 30 May 2008 06:35:00 -0000 From: Andrew Lunn To: ariga masahiro Cc: "Paul D. DeRocco" , ecos-discuss@ecos.sourceware.org Message-ID: <20080530063456.GE22071@lunn.ch> Mail-Followup-To: ariga masahiro , "Paul D. DeRocco" , ecos-discuss@ecos.sourceware.org References: <000501c8c20b$273c4830$1c0110ac@ariga> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000501c8c20b$273c4830$1c0110ac@ariga> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) 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: In trouble of timer operations X-SW-Source: 2008-05/txt/msg00116.txt.bz2 > Forgive my ignorance,but please teach me more. > If I like to insert exactly, say 20msec, delay how should I write program ? You can get better accuracy by using one of the spare hardware timers. You would need to program it yourself, handle the interrupts, block/unblock your thread etc. 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