Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <023801c0e00f$5ab73020$0200a8c0@lifelesswks> From: "Robert Collins" To: References: <20010518221107 DOT A12195 AT redhat DOT com> <021a01c0e00b$e8d48dc0$0200a8c0 AT lifelesswks> <20010518224535 DOT A26035 AT redhat DOT com> Subject: Re: pthread gotchas Date: Sat, 19 May 2001 12:56:50 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 19 May 2001 02:49:59.0037 (UTC) FILETIME=[64B8CAD0:01C0E00E] further to my last email: the return value on openBSD is correct: the pid of the waited upon process. your test: if (status) is wrong. It should be if (status != pid) Rob