From owner-cvs-all@FreeBSD.ORG Sat Oct 9 15:12:34 2004 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 1362D16A4CE; Sat, 9 Oct 2004 15:12:34 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06CF043D41; Sat, 9 Oct 2004 15:12:34 +0000 (GMT) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i99FCX0x001137; Sat, 9 Oct 2004 15:12:33 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i99FCXYf001136; Sat, 9 Oct 2004 15:12:33 GMT (envelope-from mtm) Message-Id: <200410091512.i99FCXYf001136@repoman.freebsd.org> From: Mike Makonnen Date: Sat, 9 Oct 2004 15:12:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/lib/libthr/thread thr_exit.csrc/sys/compat/freebsd32 syscalls.master src/sys/kern kern_thr.c syscalls.master src/sys/sys thr.h 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: Sat, 09 Oct 2004 15:12:34 -0000 mtm 2004-10-09 15:12:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) lib/libthr/thread thr_exit.c sys/compat/freebsd32 syscalls.master sys/kern kern_thr.c syscalls.master sys/sys thr.h Log: MFC: ---------------------------- revision 1.15 date: 2004/10/08 14:48:02; author: mtm; state: Exp; lines: +1 -4 Remove a reference to a non-existent syscall: _thr_exit(). The actual name is thr_exit(). How this ever worked is beyond me. ---------------------------- revision 1.14 date: 2004/10/06 14:20:57; author: mtm; state: Exp; lines: +2 -3 Close a race between a thread exiting and the freeing of it's stack. After some discussion the best option seems to be to signal the thread's death from within the kernel. This requires that thr_exit() take an argument. Discussed with: davidxu, deischen, marcel MFC after: 3 days ============================================================================= Approved by: re/scottl Revision Changes Path 1.13.2.1 +1 -5 src/lib/libthr/thread/thr_exit.c 1.40.2.1 +1 -1 src/sys/compat/freebsd32/syscalls.master 1.23.2.6 +5 -1 src/sys/kern/kern_thr.c 1.176.2.1 +1 -1 src/sys/kern/syscalls.master 1.3.2.1 +1 -1 src/sys/sys/thr.h