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

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

	return NULL;
}
예제 #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;
}