From owner-freebsd-questions@FreeBSD.ORG Fri May 9 11:21:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E1E837B401 for ; Fri, 9 May 2003 11:21:33 -0700 (PDT) Received: from linux.research.att.com (H-135-207-24-16.research.att.com [135.207.24.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4411C43FB1 for ; Fri, 9 May 2003 11:21:32 -0700 (PDT) (envelope-from misha@research.att.com) Received: from bigmail.research.att.com (bigmail.research.att.com [135.207.30.101])h49IQVw7024002 for ; Fri, 9 May 2003 14:26:31 -0400 Received: from research.att.com (ha17-4.research.att.com [135.207.26.210]) h49ILTV08601 for ; Fri, 9 May 2003 14:21:29 -0400 (EDT) Sender: misha@research.att.com Message-ID: <3EBBF029.9EE9031B@research.att.com> Date: Fri, 09 May 2003 14:15:05 -0400 From: misha Organization: AT&T Labs - Research X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: signal usage in Pthread X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 18:21:33 -0000 Hi, I have been reading through archives, read Mueller's recent threads article, and crawled around freebsd.org documentation but could not find an answer to this question. I am trying to port a multithreaded application from Linux to FreeBSD; the application uses SIGUNUSED signal (because Linux threads utilize SIGUSR1 and 2 for themselves). I am considering replacing SIGUNUSED with SIGUSR1 but am concerned if FreeBSD threads aren't using them also. Does anyone know if either user-level threads ( gcc -Pthread) or kernel threads (gcc -kthread) use SIGUSR1 in a way that would preclude using it in the application? Thanks a lot for any info or pointers, Michael Rabinovich