We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 806e3ee commit 9147f7fCopy full SHA for 9147f7f
source/x509storeissuer.c
@@ -89,7 +89,16 @@ struct nonce_cfg {
89
size_t num_dirs;
90
};
91
92
-struct thread_data {
+/* Cache line size is either 32 or 64 bytes on most arches of interest */
93
+#if defined(__GNUC__) || defined(__clang__)
94
+# define ALIGN64 __attribute((aligned(64)))
95
+#elif defined(_MSC_VER)
96
+# define ALIGN64 __declspec(align(64))
97
+#else
98
+# define ALIGN64
99
+#endif
100
+
101
+ALIGN64 struct thread_data {
102
OSSL_TIME start_time;
103
struct {
104
uint64_t count;
0 commit comments