| 137 | |
| 138 | |
| 139 | VGLTrans::VGLTrans(void) : nprocs(fconfig.np), socket(NULL), thread(NULL), |
| 140 | deadYet(false), dpynum(0) |
| 141 | { |
| 142 | memset(&version, 0, sizeof(rrversion)); |
| 143 | profTotal.setName("Total "); |
| 144 | #ifdef USEHELGRIND |
| 145 | ANNOTATE_BENIGN_RACE_SIZED(&deadYet, sizeof(bool), ); |
| 146 | // NOTE: Without this line, helgrind reports a data race on the class |
| 147 | // instance address in the destructor (false positive?) |
| 148 | ANNOTATE_BENIGN_RACE_SIZED(this, sizeof(VGLTrans *), ); |
| 149 | #endif |
| 150 | } |
| 151 | |
| 152 | |
| 153 | void VGLTrans::run(void) |