changeset 25:64a2c6ae21db false_sharing

padding before mutexes in semantic environment
author Merten Sach <msach@mailbox.tu-berlin.de>
date Tue, 20 Dec 2011 16:48:20 +0100
parents 258ff77b64b1
children
files VPThread.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/VPThread.h	Fri Dec 16 20:03:16 2011 +0100
     1.2 +++ b/VPThread.h	Tue Dec 20 16:48:20 2011 +0100
     1.3 @@ -137,6 +137,7 @@
     1.4     int32             numVirtPr;
     1.5     int32             nextCoreToGetNewPr;
     1.6     int32             primitiveStartTime;
     1.7 +   char              padding[CACHELINE_SIZE];
     1.8  
     1.9        //Specific to this semantic layer
    1.10     VPThdMutex      **mutexDynArray;