diff options
author | marcel <marcel@FreeBSD.org> | 2004-07-04 19:07:07 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-07-04 19:07:07 +0000 |
commit | 4def32ce29e18bf1097e7a4117193834a6e7e99a (patch) | |
tree | fe94f0d27eae754cb680f8996c8bf5955339a0ca /lib/libthr | |
parent | b9a0ef169cacce8ef6c1bf25d0878bdb15cc17e2 (diff) | |
download | FreeBSD-src-4def32ce29e18bf1097e7a4117193834a6e7e99a.zip FreeBSD-src-4def32ce29e18bf1097e7a4117193834a6e7e99a.tar.gz |
Record the offset of thr_id in the thread structure. Required for
debugging.
Diffstat (limited to 'lib/libthr')
-rw-r--r-- | lib/libthr/thread/thr_create.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_create.c b/lib/libthr/thread/thr_create.c index a6193327..38e483f 100644 --- a/lib/libthr/thread/thr_create.c +++ b/lib/libthr/thread/thr_create.c @@ -44,6 +44,7 @@ #include "libc_private.h" #define OFF(f) offsetof(struct pthread, f) +int _thread_thr_id_offset = OFF(thr_id); int _thread_next_offset = OFF(tle.tqe_next); int _thread_name_offset = OFF(name); int _thread_ctx_offset = OFF(ctx); |