diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2003-04-30 15:05:17 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2003-04-30 15:05:17 +0000 |
| commit | d143dde4381aa8a80b079f5f4fc8151ac9dd0abb (patch) | |
| tree | 9350a8aef34768a87292c8deae80e7fc8f1af999 /lib/libpthread/thread/thr_private.h | |
| parent | 2c50682195b096c4717dbdd5b19b187f1447eb5e (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_private.h')
| -rw-r--r-- | lib/libpthread/thread/thr_private.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index 4d4324241fe4..22d2445d013f 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_private.h @@ -593,6 +593,12 @@ struct pthread_specific_elem { */ struct pthread { /* + * Thread mailbox is first so it cal be aligned properly. + */ + struct kse_thr_mailbox tmbx; + void *alloc_addr; /* real address (unaligned) */ + + /* * Magic value to help recognize a valid thread structure * from an invalid one: */ @@ -626,10 +632,6 @@ struct pthread { void *arg; struct pthread_attr attr; - /* - * Thread mailbox. - */ - struct kse_thr_mailbox tmbx; int active; /* thread running */ int blocked; /* thread blocked in kernel */ int need_switchout; |
