regressions/ck_bytelock: Cache-align bytelock.

Signed-off-by: Samy Al Bahra <sbahra@repnop.org>
ck_pring
Samy Al Bahra 12 years ago
parent 52ca64b2b7
commit b0277346b8

@ -51,7 +51,7 @@ struct block {
static struct affinity a; static struct affinity a;
static unsigned int locked = 0; static unsigned int locked = 0;
static int nthr; static int nthr;
static ck_bytelock_t lock = CK_BYTELOCK_INITIALIZER; static ck_bytelock_t lock CK_CC_CACHELINE = CK_BYTELOCK_INITIALIZER;
static void * static void *
thread(void *null) thread(void *null)

Loading…
Cancel
Save