From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14644 invoked by alias); 10 Jun 2004 13:18:26 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 14036 invoked from network); 10 Jun 2004 13:18:05 -0000 Received: from unknown (HELO smtp4.hknet.com) (202.67.240.182) by sourceware.org with SMTP; 10 Jun 2004 13:18:05 -0000 Received: from em.no-ip.com (vp165099.hk.uac65.hknet.com [203.169.165.99]) by smtp4.hknet.com (Postfix) with ESMTP id A057FA79D9 for ; Thu, 10 Jun 2004 21:18:01 +0800 (HKT) Received: from emnb (emnb [192.168.0.2]) by em.no-ip.com (8.11.6/8.8.7) with SMTP id i5ADH5i26062 for ; Thu, 10 Jun 2004 21:17:06 +0800 Message-ID: <00ac01c44eed$38f4cec0$0200a8c0@em.noip.com> From: "Enzo Michelangeli" To: Subject: No static initialization for recursive mutexes? Date: Thu, 10 Jun 2004 13:18:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2004/txt/msg00074.txt.bz2 Hi, Recursive mutexes are supported by Pthreads-Win32, but PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP (or equivalent) is not defined in pthread.h, unlike the default PTHREAD_MUTEX_INITIALIZER . Is there any way of initializing recursive mutexes statically, rather than using pthread_mutex_init()? Enzo