delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/06/22:43:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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-Originating-IP: [65.25.165.241]
X-Originating-Email: [jw2357 AT hotmail DOT com]
X-Sender: jw2357 AT hotmail DOT com
From: "John William" <jw2357 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: pthread_join() broken on Cygwin 1.5.11-1?
Date: Tue, 07 Sep 2004 02:43:47 +0000
Mime-Version: 1.0
Message-ID: <BAY1-F13rAYNokU0QoH00056c3e@hotmail.com>
X-OriginalArrivalTime: 07 Sep 2004 02:43:48.0107 (UTC) FILETIME=[80399DB0:01C49484]

I just upgraded my Cygwin installation to the new 1.5.11-1 release, and now 
one of my applications behaves strangely.

The application in question is multi-threaded. Everything seems to be 
working fine until the application tries to exit. The application consists 
of the main thread and several subordinate (worker) threads. At termination, 
each worker thread calls pthread_exit() and the main thread calls 
pthread_join(thread_id,NULL) on each worker thread. After upgrading to 
1.5.11-1, the pthread_join() no longer returns - the entire application 
immediately exits on the first call to pthread_join().

- John



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