SIGINFO and pthreads
Daniel Eischen
deischen at freebsd.org
Thu Jun 8 14:56:57 UTC 2006
On Wed, 7 Jun 2006, Mikhail Teterin wrote:
> 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!
Look in /tmp.
In -current, dumping of threads is only enabled when LIBPTHREAD_DEBUG
is set in the environment.
--
DE
More information about the freebsd-threads
mailing list