[Openmcl-cvs-notifications] r10770 - /trunk/source/lisp-kernel/thread_manager.c

gb at clozure.com gb at clozure.com
Tue Sep 16 08:26:00 EDT 2008


Author: gb
Date: Tue Sep 16 08:26:00 2008
New Revision: 10770

Log:
If we HAVE_TLS, try to ensure that the TCR is allocated on a 16-byte
boundary by using GCC-isms.



Modified:
    trunk/source/lisp-kernel/thread_manager.c

Modified: trunk/source/lisp-kernel/thread_manager.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/source/lisp-kernel/thread_manager.c (original)
+++ trunk/source/lisp-kernel/thread_manager.c Tue Sep 16 08:26:00 2008
@@ -25,7 +25,7 @@
 } thread_activation;
 =

 #ifdef HAVE_TLS
-__thread TCR current_tcr;
+__thread TCR __attribute__ ((aligned (16))) current_tcr;
 #endif
 =

 extern natural



More information about the Openmcl-cvs-notifications mailing list