Date: Wed, 7 Jun 2006 19:06:25 -0400 From: Mikhail Teterin <mi+mx@aldan.algebra.com> To: threads@freebsd.org Subject: SIGINFO and pthreads Message-ID: <200606071906.25776.mi%2Bmx@aldan.algebra.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606071906.25776.mi%2Bmx>