In several threads, the following add function is called. I do not want the data to overwrite the application, because the counter has not yet been increased.
Will all incoming streams be suspended except that the append is currently in use? Or will other threads continue to work and not add data?
Should the mutes be "STATIC" or does each instance know to pause operations?
If I don't need hiccups, I guess I need to create a buffer to track log data?
void classA::Append(int _msg) { static int c = 0; QMutex mutex;
source share