void* reportingBatchCommitter(void*) { while (true) { sleep(10); gReports.commit(); } return NULL; }
void* reportingBatchCommitter(void*) { gReports.mReportRunning = true; while (gReports.mReportRunning) { sleep(10); gReports.commit(); } return NULL; }
void* reportingBatchCommitter(void*) { #if 0 // ./.libs/libcommon.so: undefined reference to `gReports' gReports.mReportRunning = true; while (gReports.mReportRunning) { sleep(10); gReports.commit(); } #endif return NULL; }