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: <3B7ACF4C.2DA7CE0@pacbell.net>
References: <3B7ACF4C.2DA7CE0@pacbell.net>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <997915312.20153.19.camel@lifelesswks>
Mime-Version: 1.0
X-Mailer: Evolution/0.12 (Preview Release)
Date: 16 Aug 2001 09:10:13 +1000
X-OriginalArrivalTime: 15 Aug 2001 22:58:09.0275 (UTC) FILETIME=[C09F4CB0:01C125DD]

On 15 Aug 2001 12:36:44 -0700, Wesel wrote:
> In my copy of the libraries (Cygwin 1.3.2) I noticed the
> PTHREAD_COND_INITIALIZER macro was unfinished, and in need of fixing. 
> How reliable are condition variables in cygwin?  Are they completely
> broken, or is it just that one macro?

1.3.2 was a broken release threads-wise.

> I asked about it on comp.programming.threads and was informed that "the
> thread library you happen to be stuck using sort of almost pretends to
> be POSIX threads but lacks critical and basic capabilities required of
> any thread library."  I know we're not perfect, but cygwin is supposed

Someone out there was a bit harsh. Ah well.

> to try its darndest to provide a POSIX interface.  How would one go
> about fixing the problems with condition variables?

Uhmm, a) report the actual bug you are experiencing.
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. 
c) To get a fixed version download a snapshot cygwin dll.

Cheers, Rob.
 
> Wesel
> Who hasn't even managed to compile the cygwin source, so be gentle with
> him.
> 
> --
> 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/
> 



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

