delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/14/17:52:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 14 Feb 2008 16:52:01 -0600
From: Brian Ford <Brian DOT Ford AT FlightSafety DOT com>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: RE: Perl with SerialPort
In-Reply-To: <01d101c86e95$36d4b030$2e08a8c0@CAM.ARTIMI.COM>
Message-ID: <Pine.CYG.4.58.0802141641340.57416@PC1163-8460-XP.flightsafety.com>
References: <15468287 DOT post AT talk DOT nabble DOT com> <01d101c86e95$36d4b030$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, 13 Feb 2008, Dave Korn wrote:

> On 13 February 2008 22:59, Dave Korn wrote:
>
> > On 13 February 2008 22:46, Dave Korn wrote:
> >
> > t/01timing.............NOK 7#     Failed test (t/01timing.t at line 33)
> > # then: 207441765 now: 207443905 diff: 2140
> > # Looks like you failed 1 test of 7.
> > t/01timing.............dubious
>
>   That diff is absolutely reliably consistently 2140 for me.  I'd
> speculate that maybe the cygwin signal emulation requires a context
> switch or two, to or away from the signal processing thread, and so
> we're seeing an extra quantum or two of constant overhead for systematic
> reasons.

Yep, two.  The minimum quantum on NT based OSes is 1024.  See this
thread for support of your hypothesis:

http://cygwin.com/ml/cygwin-developers/2007-10/msg00040.html

-- 
Brian Ford
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019