X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Message-ID: <4D7FD2D7.7030603@dronecode.org.uk> Date: Tue, 15 Mar 2011 20:57:59 +0000 From: Jon TURNEY User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Calling sem_wait() in DllMain( DLL_THREAD_DETACH) crashes References: <4D7FB133 DOT 7030301 AT dronecode DOT org DOT uk> <20110315190733 DOT GA23825 AT ednor DOT casa DOT cgf DOT cx> <4D7FC59F DOT 6030901 AT cwilson DOT fastmail DOT fm> <20110315202816 DOT GA8747 AT ednor DOT casa DOT cgf DOT cx> <4D7FCF36 DOT 5090802 AT cwilson DOT fastmail DOT fm> In-Reply-To: <4D7FCF36.5090802@cwilson.fastmail.fm> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 15/03/2011 20:42, Charles Wilson wrote: > Given that Jon mentioned other, similar reports, involving other > libraries/extensions for python...I wonder if there's something in the > core of python (e.g. "how to build an extension DLL: this glue code will > be included in the xDLL automatically by pyDist::Builder [or whatever], > defining a custom DllMain()...") that's doing something windows-ish, > when it ought to be doing it unix-ish on cygwin. > > E.g. I wonder if this is bigger than just Twisted, or just > openssl+python/Lib/thread [1,2] etc. No, twisted is pure python. But it uses the ssl python module, which uses libcrypto library, which does this bad, bad thing. Sorry for not making it clear in my original mail that the underlying cause is the same in all cases. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple