[Mono-devel-list] [PATCH] Trace at will

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Jun 7 10:17:18 EDT 2005


On Sun, 2005-06-05 at 12:45 +0200, Bill Middleton wrote:
> 
>         There's a mention in libgc/include/private/gc_priv.h  about
>         USR2 already being used by linuxthreads when SIG_SUSPEND is
>         redefined as SIGPWR.  I have no idea if thats relevant
>         anymore, though.  I recall this only because FreeBSD had a
>         problem with USR2 and USR2 that had to be changed there in
>         libgc in the previous release.
> 
> 
> To clarify a bit, Freebsd was using a ported version of the (userland)
> linuxthreads library in very early porting efforts of Mono under
> Freebsd4.x.  In the ported version, TSTP and CONT were redefined as
> USR1 and USR2 in libgc, but I don't recall whether that was specific
> only to Freebsd.    The current mention is specific to
> GC_LINUX_THREADS anyhow, but only when SUSPEND isn't defined, which
> seems pretty ancient...

I think I'm going to commit the patch as is and add a note in the manual
page about the tiny little chance that SIGUSR2 does not work. In any
case, this won't cause any trouble if you're not tracing, soo..... :)

-Gonzalo





More information about the Mono-devel-list mailing list