On Mon, Feb 20, 2012, Kurt Miller wrote:
> On Monday 20 February 2012 3:09:08 pm Ted Unangst wrote:
>> On Mon, Feb 20, 2012, Kurt Miller wrote:
>> > On Sunday 19 February 2012 4:33:35 pm Amit Kulkarni wrote:
>>
>> >> There is some problem building sun's jdk 1.6 (devel/jdk/1.6) and
>> >> lang/mono. Note this is with stock current (src,xenocara,ports) as of
>> >> friday feb 17... CC'ing kurt@ and robert@. Can somebody look in there
>> >> if they have time?
>>
>> What is the problem?
> 
> guenther@ mentioned to me that pthread_suspend_np() suspends the whole
> process not just the specified thread. Is that not the case?

Oh, I was taking it on faith the kernel worked now.  I think maybe we
just need the diff below in addition to the previous one.  [sorry I'm
not actually able to test my own diffs right now. :(]

Index: kern_sig.c
===================================================================
RCS file: /home/tedu/cvs/src/sys/kern/kern_sig.c,v
retrieving revision 1.133
diff -u -p -r1.133 kern_sig.c
--- kern_sig.c  25 Jan 2012 06:12:13 -0000      1.133
+++ kern_sig.c  21 Feb 2012 04:18:25 -0000
@@ -858,7 +858,7 @@ ptsignal(struct proc *p, int signum, enu
        /*
         * XXX delay processing of SA_STOP signals unless action == SIG_DFL?
         */
-       if (prop & (SA_CONT | SA_STOP) && type != SPROPAGATED) {
+       if (prop & (SA_CONT | SA_STOP) && type == SPROCESS) {
                TAILQ_FOREACH(q, &pr->ps_threads, p_thr_link) {
                        if (q != p)
                                ptsignal(q, signum, SPROPAGATED);

Reply via email to