delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/25/11:22:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 25 Sep 2001 11:23:12 -0400
From: Jason Tishler <jason AT tishler DOT net>
To: Cygwin <cygwin AT sources DOT redhat DOT com>
Cc: Python-List <python-list AT python DOT org>
Subject: Cygwin Python -- Thread or not to thread...
Message-ID: <20010925112312.E1280@dothill.com>
Mail-Followup-To: Cygwin <cygwin AT sources DOT redhat DOT com>,
Python-List <python-list AT python DOT org>
Mime-Version: 1.0
User-Agent: Mutt/1.3.18i

..that is the question.

Last week, I was about to release my next Cygwin Python distribution with
threading enabled for the first time.  Although there is one known Cygwin
pthreads race condition that can cause a hang, this issue was not tickled
(so far) whenever I ran the regression for Python CVS.  Unfortunately (or
fortunately depending on your perspective), while running the regression
test on Cygwin Python 2.1.1, test_threadedtempfile hung due to the above
mentioned problem.

So I am asking the Cygwin Python community the following:

    Should I still release my next Cygwin Python distribution with
    threading enabled?  Or, should I continue to disabled threading
    until the above known Cygwin pthreads issue is resolved?

There are advantages and disadvantages to either choice.  By releasing a
threaded Cygwin Python, more people will be able to exercise Cygwin's
pthreads support which will help test the implementation.  This is
especially important on 9x/Me since I don't access to these platforms
and hence, have never personally tested Cygwin Python on them.  The
downside is siccing a (buggy) threaded Cygwin Python on the general
public may result in significant heartache.

The more conservative approach is to continue to release Cygwin Python
with threading disabled until the known Cygwin pthreads issue is resolved.
Unfortunately, it maybe sometime before the race condition is prevented
(i.e., the fix is non-trivial):

    http://www.cygwin.com/ml/cygwin-developers/2001-09/msg00438.html

So Cygwin Python users that need threading may have to continue to be
patience for an undetermined amount of time.

Please post your opinions instead of sending private email, so others
can see how a consensus (if any) was determined.

Thanks,
Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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