Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: atacama.four-d.de: mail set sender to <tpfaff@gmx.net> using -f
Message-ID: <3EBF5FF8.6000106@gmx.net>
Date: Mon, 12 May 2003 10:48:56 +0200
From: Thomas Pfaff <tpfaff@gmx.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin <cygwin@cygwin.com>
Subject: Re: pthread_signal() references illegal memory address
References: <Pine.GSO.4.44.0305112053330.393-100000@slinky.cs.nyu.edu> <1052726662.1644.19.camel@rufus>
In-Reply-To: <1052726662.1644.19.camel@rufus>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Kern Sibbald wrote:
> 
> By the way, if it wasn't clear, the problem *is* with the pthread_kill()
> statement. When it is in the program, the program dies. When I remove
> it, the program works (I mean the real program running as a service).
> That was the last thing that I added, so it isn't a question of the 
> culprit being elsewhere.
> 

pthread_kill is broken and has never worked as expected. To fix it the 
signal code in cygwin must be changed to support multithreaded apps, so 
do not expect that this will work in the near future.

Thomas


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

