[M3devel] Solaris at last
Tony Hosking
hosking at cs.purdue.edu
Mon Oct 8 22:17:56 CEST 2007
It's really great to hear that.
Yes, on Solaris I now use SIGUSR2 as the signal to stop all threads
for GC. I might change that at some point to be one of the real-time
signals (also, to avoid interfering with application level use of
SIGUSR2), but SIGUSR2 seems to work OK for now.
When using m3gdb to debug applications you can use the command:
handle SIGUSR2 noprint nostop
to ignore the signal.
Regards,
Tony
On Oct 8, 2007, at 3:47 PM, Alex Bochannek wrote:
> Tony,
>
> The change looks really good, so far I have not had an error.
>
> I did notice a change when running under m3gdb however:
>
> (m3gdb) r
> Starting program: /usr/local/bin/cvsup
> warning: Lowest section in /lib/libw.so.1 is .dynamic at 00000074
> warning: Lowest section in /lib/libpthread.so.1 is .dynamic at
> 00000074
> warning: Lowest section in /lib/libdl.so.1 is .dynamic at 00000094
> [New LWP 1]
> [New LWP 2]
> [New LWP 3]
>
> Program received signal SIGUSR2, User defined signal 2.
> [Switching to LWP 2]
> 0xfeec0090 in __lwp_park () from /lib/libc.so.1
> (m3gdb)
>
> Alex.
More information about the M3devel
mailing list