From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4963 invoked by alias); 3 Aug 2006 12:25:50 -0000 Received: (qmail 4955 invoked by uid 22791); 3 Aug 2006 12:25:49 -0000 X-Spam-Check-By: sourceware.org Received: from nigelhorne.force9.co.uk (HELO bandsman.co.uk) (212.159.106.41) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 Aug 2006 12:25:48 +0000 Received: from njh (njh [192.168.1.2]) (authenticated bits=0) by bandsman.co.uk (8.13.7/8.13.7) with ESMTP id k73CPbqR000497 for ; Thu, 3 Aug 2006 13:25:38 +0100 From: "Nigel Horne" To: Subject: EnterCriticalSection (&ptw32_cond_list_lock) on pthreads-w32-2-6-0-release Date: Thu, 03 Aug 2006 12:25:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Received-SPF: pass (bandsman.co.uk: 192.168.1.2 is authenticated by a trusted mechanism) X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (bandsman.co.uk [192.168.1.1]); Thu, 03 Aug 2006 13:25:39 +0100 (BST) X-DCC-INFN-TO-Metrics: bandsman.co.uk 1233; Body=1 Fuz1=1 Fuz2=1 X-IsSubscribed: yes Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2006/txt/msg00044.txt.bz2 What are the circumstances under which VS2005 gives an access violation whenever EnterCriticalSection(&ptw32_cond_list_lock); is called in any of the pthread functions? Since ptw32_cond_list_lock is an internal variable, I can't see that I supposed to initialise it, yet nothing works because of this EnterCriticalSection problem, e.g. pthread_cond_init will fail. -Nigel