Date: Fri, 9 May 2003 14:58:28 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: misha <misha@research.att.com> Cc: freebsd-questions@freebsd.org Subject: Re: signal usage in Pthread Message-ID: <20030509195827.GB94321@dan.emsphone.com> In-Reply-To: <3EBBF029.9EE9031B@research.att.com> References: <3EBBF029.9EE9031B@research.att.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 09), misha said: > 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? libc_r (-pthread) uses SIGPROF for its scheduling signal, so you should be safe. There hasn't been a -kthread option for a long time. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030509195827.GB94321>