delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/12/06:10:45

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: pthread_cond_timedwait
Date: Mon, 12 Feb 2007 12:10:33 +0100
Message-ID: <41FCF2210BBCFA4BA3EF3B810C19E4D028C5F3@kda-beexc-01.kda.kongsberg.com>
From: <Ingvill DOT Grefstad AT kongsberg DOT com>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l1CBAYZW011933

Hi,
I have tried to use the pthread_cond_timedwait, but it doesn't seem to
work properly.
 
It returns immediately with a return value of 116 (ETIMEDOUT) even if I
set the timeout period to e.g. 10 seconds. 
 
I have locked the mutex and initialized the condition variable before
the invokation is made. 
 
What is wrong?
 
The cygwin version was downloaded and installed 2006/12/14 and the posix
library date is 10.02.2006 03:50.
 
 
Best regards 
Ingvill

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019