Exemple #1
0
void* reportingBatchCommitter(void*)
{
	while (true) {
		sleep(10);
		gReports.commit();
	}

	return NULL;
}
Exemple #2
0
void* reportingBatchCommitter(void*)
{
	gReports.mReportRunning = true;
	while (gReports.mReportRunning) {
		sleep(10);
		gReports.commit();
	}

	return NULL;
}
Exemple #3
0
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;
}