[Mono-devel-list] [PATCH] Trace at will
flashdict at gmail.com
Tue Jun 7 10:47:36 EDT 2005
As Martin pointed out, this applied to very old version of FreeBSD. After
diffing against the older version of gcconfig.h, I see that the redefinition
of SIG_SUSPEND and SIG_THR_RESTART to USR1 and USR2 respectively applied
exclusively to FreeBSD, and was specific to the port to FreeBSD4.x. Mono
works fine without USR1 and USR2 on all FreeBSD > 5.3.
On 6/7/05, Gonzalo Paniagua Javier <gonzalo at ximian.com> wrote:
> 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..... :)
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list