From owner-p4-projects@FreeBSD.ORG Sat Nov 20 12:53:08 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DF48616A4D0; Sat, 20 Nov 2004 12:53:07 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A70116A4CE for ; Sat, 20 Nov 2004 12:53:07 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8936643D5A for ; Sat, 20 Nov 2004 12:53:07 +0000 (GMT) (envelope-from davidxu@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 iAKCr7tC041980 for ; Sat, 20 Nov 2004 12:53:07 GMT (envelope-from davidxu@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iAKCr7p8041977 for perforce@freebsd.org; Sat, 20 Nov 2004 12:53:07 GMT (envelope-from davidxu@freebsd.org) Date: Sat, 20 Nov 2004 12:53:07 GMT Message-Id: <200411201253.iAKCr7p8041977@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to davidxu@freebsd.org using -f From: David Xu To: Perforce Change Reviews Subject: PERFORCE change 65552 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2004 12:53:08 -0000 http://perforce.freebsd.org/chv.cgi?CH=65552 Change 65552 by davidxu@davidxu_alona on 2004/11/20 12:52:08 Slightly adjust thread members layout, put lock on 64 bits boundary. Affected files ... .. //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_private.h#4 edit Differences ... ==== //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_private.h#4 (text+ko) ==== @@ -49,8 +49,8 @@ #include #include #include +#include #include -#include #include #include @@ -378,19 +378,19 @@ char *name; u_int64_t uniqueid; /* for gdb */ - /* How many low level locks the thread held. */ - int locklevel; - /* * Lock for accesses to this thread structure. */ struct lock lock; + /* Thread exits in kernel, written by kernel. */ + long isdead; + /* Kernel thread id. */ long tid; - /* Thread exits in kernel, written by kernel. */ - long isdead; + /* How many low level locks the thread held. */ + int locklevel; /* How many signals were received. */ int sigseqno;