From owner-freebsd-threads@FreeBSD.ORG Thu Jun 8 01:34:48 2006 Return-Path: X-Original-To: threads@freebsd.org Delivered-To: freebsd-threads@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B58BE16A85B for ; Wed, 7 Jun 2006 23:06:38 +0000 (UTC) (envelope-from mi+mx@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EB6843D48 for ; Wed, 7 Jun 2006 23:06:38 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.6/8.13.6) with ESMTP id k57N6aZn023618 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 7 Jun 2006 19:06:37 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from [172.21.130.86] (mx-broadway [38.98.68.18]) by corbulon.video-collage.com (8.13.6/8.13.6) with ESMTP id k57N6VXq083822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Jun 2006 19:06:31 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) From: Mikhail Teterin Organization: Virtual Estates, Inc. To: threads@freebsd.org Date: Wed, 7 Jun 2006 19:06:25 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606071906.25776.mi+mx@aldan.algebra.com> X-Virus-Scanned: ClamAV 0.88/1519/Wed Jun 7 15:17:46 2006 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 Cc: Subject: SIGINFO and pthreads X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 01:34:57 -0000 Hello! I have a program, which updates the user with its status upon receiving a SIGINFO (like dump, cp, dd, and fsck do). The exact same handler is installed for SIGUSR1 (TclX does not know about SIGINFO and I needed to a Tcl script to interact with the program too). When I made the program multi-threaded, it stopped reacting to the SIGINFO. It still reacts to the SIGUSR1, but completele ignores SIGINFO now... If I disable the multi-threading, SIGINFO is processed again... What's special about SIGINFO and pthreads? Thanks! -mi