From owner-freebsd-hackers@FreeBSD.ORG Wed May 3 11:56:42 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53C9A16A401; Wed, 3 May 2006 11:56:42 +0000 (UTC) (envelope-from aanton@spintech.ro) Received: from smtpx.spintech.ro (smtpx.spintech.ro [81.180.92.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF8E043D46; Wed, 3 May 2006 11:56:41 +0000 (GMT) (envelope-from aanton@spintech.ro) Received: from [10.0.0.2] (beastie [10.0.0.2]) by smtpx.spintech.ro (Postfix) with ESMTP id 125133A497; Wed, 3 May 2006 12:30:18 +0000 (UTC) Message-ID: <44589A77.7070707@spintech.ro> Date: Wed, 03 May 2006 14:56:39 +0300 From: Alin-Adrian Anton Organization: Spintech Security Systems User-Agent: Mozilla Thunderbird 1.0 (X11/20041229) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Eischen References: <4456A5B3.2010809@spintech.ro> <44579DE0.1050207@spintech.ro> In-Reply-To: X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: which running thread gests the external signal X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: aanton@spintech.ro List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 11:56:42 -0000 Daniel Eischen wrote: > You are entirely confused. You should go back to the POSIX standard > and get Dave Butenhof's Programming with POSIX Threads book. > [..] You are right. All is clear now, i re-read the link twice and played with sigprocmask vs. pthread_sigmask. It's clear now, also with the help of: http://www.opengroup.org/onlinepubs/009695399/functions/sigprocmask.html Thank you very much! (all involved) Regards, -- Alin-Adrian Anton GPG keyID 0x183087BA (B129 E8F4 7B34 15A9 0785 2F7C 5823 ABA0 1830 87BA) gpg --keyserver pgp.mit.edu --recv-keys 0x183087BA "It is dangerous to be right when the government is wrong." - Voltaire