From c897a867f0ba42593166fed37ef2fb6800f016ab Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Tue, 8 Sep 2015 09:02:45 +0200 Subject: [PATCH] align gomp_thread to a cache line to avoid false sharing --- hermit/usr/libgomp/libgomp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermit/usr/libgomp/libgomp.h b/hermit/usr/libgomp/libgomp.h index 76446500d..a6213ec0b 100644 --- a/hermit/usr/libgomp/libgomp.h +++ b/hermit/usr/libgomp/libgomp.h @@ -449,7 +449,7 @@ struct gomp_thread /* User pthread thread pool */ struct gomp_thread_pool *thread_pool; -}; +} __attribute__ ((aligned (64))); struct gomp_thread_pool