Date: Sat, 20 Nov 2004 12:53:07 GMT From: David Xu <davidxu@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 65552 for review Message-ID: <200411201253.iAKCr7p8041977@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sys/time.h> #include <sys/cdefs.h> #include <sys/queue.h> +#include <ucontext.h> #include <sys/thr.h> -#include <ucontext.h> #include <pthread.h> #include <pthread_np.h> @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411201253.iAKCr7p8041977>