Eneboo - Documentación para desarrolladores
|
00001 #ifndef _PAD_H_ 00002 #define _PAD_H_ 00003 00004 00005 // Add a cache-pad to an object. 00006 00007 template <int CacheLineSize, class Super> 00008 class Pad : public Super { 00009 private: 00010 // Add a pad field with a name that is unlikely 00011 // to conflict with a real field name. 00012 char _pad_QWERTYUIOP1234567890[CacheLineSize]; 00013 }; 00014 00015 00016 #endif