From owner-p4-projects Mon Jun 10 0:19:26 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id AC9A737B413; Mon, 10 Jun 2002 00:19:21 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8859137B410 for ; Mon, 10 Jun 2002 00:19:20 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5A7JKS27862 for perforce@freebsd.org; Mon, 10 Jun 2002 00:19:20 -0700 (PDT) (envelope-from julian@freebsd.org) Date: Mon, 10 Jun 2002 00:19:20 -0700 (PDT) Message-Id: <200206100719.g5A7JKS27862@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to julian@freebsd.org using -f From: Julian Elischer Subject: PERFORCE change 12643 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=12643 Change 12643 by julian@julian_jules1 on 2002/06/10 00:18:57 Duh.. don't clear the single-threading pointer until we finish single-threading. Affected files ... ... //depot/projects/kse/sys/kern/kern_thread.c#59 edit Differences ... ==== //depot/projects/kse/sys/kern/kern_thread.c#59 (text+ko) ==== @@ -527,7 +527,6 @@ p->p_singlethread, td_runq); p->p_suspcount--; setrunqueue(p->p_singlethread); - p->p_singlethread = NULL; } } /* @@ -579,7 +578,6 @@ TAILQ_REMOVE(&p->p_suspended, p->p_singlethread, td_runq); p->p_suspcount--; setrunqueue(p->p_singlethread); - p->p_singlethread = NULL; } } @@ -593,6 +591,7 @@ p = td->td_proc; PROC_LOCK_ASSERT(p, MA_OWNED); p->p_flag &= ~P_STOPPED_SNGL; + p->p_singlethread = NULL; thread_unsuspend(p); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message