From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/412 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?THVrYSBNYXLEjWV0acSH?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: cluts daily reports 8/12 - continuing pthread_eintr, still stuck with alloc Date: Sat, 13 Aug 2011 21:03:17 +0200 Message-ID: <4E46CA75.3030908@gmail.com> References: <4E4493E6.6050809@gmail.com> <20110812024151.GF132@brightrain.aerifal.cx> <4E45496A.3010505@gmail.com> <20110812153934.GI132@brightrain.aerifal.cx> <4E46C747.1080006@gmail.com> <20110813184308.GK132@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010102000906050305090302" X-Trace: dough.gmane.org 1313262354 27654 80.91.229.12 (13 Aug 2011 19:05:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Aug 2011 19:05:54 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-413-gllmg-musl=m.gmane.org@lists.openwall.com Sat Aug 13 21:05:48 2011 Return-path: Envelope-to: gllmg-musl@lo.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1QsJWm-0005HW-M8 for gllmg-musl@lo.gmane.org; Sat, 13 Aug 2011 21:05:48 +0200 Original-Received: (qmail 21540 invoked by uid 550); 13 Aug 2011 19:05:48 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 21532 invoked from network); 13 Aug 2011 19:05:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=mLV3lqzrTE0qM3M+fjK8iAC5zrJCWbNKOz3ZaXncxTg=; b=hYr/qZISq5kcySS0ZtMBauTxxII8VDaaj9ppgnFo6mbFVJfYUY+yiUgQktS1WvRRhV PHAsJbE8p0sk4ed/gmXkKShttzYeI/d7JHQs3kDa3yRyiTf8FhAdjBcnLGR7iHrAs/U5 zbmzNgT6SuTFCDynoReYIgsbRfA+DCOOEIAwo= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Icedove/3.1.11 In-Reply-To: <20110813184308.GK132@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:412 Archived-At: This is a multi-part message in MIME format. --------------010102000906050305090302 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 08/13/2011 08:43 PM, Rich Felker wrote: > Could you please explain what effect you're trying to achieve? Cleanup > handlers are rather useless unless you're using pthread_cancel. > > Rich I'm testing pthread_cancel of course. However, I have since* re-read the spec, and noticed it wouldn't block pthread_cancel anyway: "The cancellation processing in the target thread shall run asynchronously with respect to the calling thread returning from/pthread_cancel/()." So I'm looping it (will post the fresh pthread_eintr in a sec). Luka *The last mail is an old one, I just wasn't able to send it until now --------------010102000906050305090302 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit On 08/13/2011 08:43 PM, Rich Felker wrote:
Could you please explain what effect you're trying to achieve? Cleanup
handlers are rather useless unless you're using pthread_cancel.

Rich

I'm testing pthread_cancel of course. However, I have since* re-read the spec, and noticed it wouldn't block pthread_cancel anyway:
"The cancellation processing in the target thread shall run asynchronously with respect to the calling thread returning from pthread_cancel()."
So I'm looping it (will post the fresh pthread_eintr in a sec).
Luka

*The last mail is an old one, I just wasn't able to send it until now
--------------010102000906050305090302--