From owner-cvs-all@FreeBSD.ORG Tue Dec 9 17:59:24 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 626F416A4CE; Tue, 9 Dec 2003 17:59:24 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 870C843D09; Tue, 9 Dec 2003 17:59:23 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hBA1xNXJ047967; Tue, 9 Dec 2003 17:59:23 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hBA1xN5t047966; Tue, 9 Dec 2003 17:59:23 -0800 (PST) (envelope-from marcel) Message-Id: <200312100159.hBA1xN5t047966@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 9 Dec 2003 17:59:23 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_thread.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 01:59:24 -0000 marcel 2003/12/09 17:59:23 PST FreeBSD src repository Modified files: sys/kern kern_thread.c Log: Write the thread pointer (val) in the kse mailbox (loc) before we set the new context in kse_switchin(2). This allows us to return an error to the calling context when the suword() fails. Revision Changes Path 1.165 +2 -2 src/sys/kern/kern_thread.c