Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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 Content-Type: text/plain; format=flowed Message-ID: 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/