markconnecterror.cc (228B)
1 #include "backend" 2 3 void Backend::markconnecterror() { 4 debugmsg("Logging connection error on back end " << description() << '\n'); 5 6 static int lock; 7 8 mutex_lock(&lock); 9 nconnerr++; 10 mutex_unlock(&lock); 11 }