Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Subject: Re: Condition Variables?
From: Robert Collins <robert.collins@itdomain.com.au>
To: Wesel <wassdamo@pacbell.net>
Cc: cygwin@cygwin.com
In-Reply-To: <3B7B3812.E8504546@pacbell.net>
References: <3B7ACF4C.2DA7CE0@pacbell.net>
	<997915312.20153.19.camel@lifelesswks>  <3B7B3812.E8504546@pacbell.net>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <997937059.6910.2.camel@robertlinux>
Mime-Version: 1.0
X-Mailer: Evolution/0.12 (Preview Release)
Date: 16 Aug 2001 14:46:45 +1000
X-OriginalArrivalTime: 16 Aug 2001 04:46:53.0633 (UTC) FILETIME=[7882F310:01C1260E]

On 15 Aug 2001 20:03:46 -0700, Wesel wrote:
> Robert Collins wrote:
> > 
> > Uhmm, a) report the actual bug you are experiencing.
> 
> PTHREAD_COND_INITIALIZER is not defined.

Strange.. I thought that was in 1.3.2. Oh well. Anyway, the static
initialisers are the last thing on my list of to-dos for pthreads. There
are well-defined dynamic initialisers that can be used, and some thread
models (such as the win32 model) don't have any equivalent for static
initialisers.

> > b) in this case AFAIK there is no current bug with single-process
> > condition variables. Cygwin doesn't have proper support for shared
> > process condition/mutex variables yet.
> 
> It is single process.  I'll just remove my use (and attempted
> workaround) of the PTHREAD_COND_INITIALIZER macro.  That should fix
> everything, by not using the macro at all.  Inconvenient, but apparantly
> a necessary evil.
> 
> > c) To get a fixed version download a snapshot cygwin dll.
> 
> That too?  Alright.  

Thats a must. There are some serious problems "in the kernel" - as
opposed to a header file issue which is all the missing macro is.

Rob


--
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/

