diff options
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;  | 
