| 27 | |
| 28 | |
| 29 | XVTrans::XVTrans(void) : thread(NULL), deadYet(false) |
| 30 | { |
| 31 | for(int i = 0; i < NFRAMES; i++) frames[i] = NULL; |
| 32 | thread = new Thread(this); |
| 33 | thread->start(); |
| 34 | profXV.setName("XV "); |
| 35 | profTotal.setName("Total "); |
| 36 | if(fconfig.verbose) fbxv_printwarnings(vglout.getFile()); |
| 37 | #ifdef USEHELGRIND |
| 38 | ANNOTATE_BENIGN_RACE_SIZED(&deadYet, sizeof(bool), ); |
| 39 | // NOTE: Without this line, helgrind reports a data race on the class |
| 40 | // instance address in the destructor (false positive?) |
| 41 | ANNOTATE_BENIGN_RACE_SIZED(this, sizeof(XVTrans *), ); |
| 42 | #endif |
| 43 | } |
| 44 | |
| 45 | |
| 46 | void XVTrans::run(void) |
nothing calls this directly
no test coverage detected