fixup! Move more stuff into Worker and use std::thread
authorCarl Hetherington <cth@carlh.net>
Sat, 18 Apr 2020 19:37:01 +0000 (21:37 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 18 Apr 2020 19:37:01 +0000 (21:37 +0200)
src/leqm-nrt.cc

index 24ad4c06a2f469d15459cfc2d2fe76b44f832fd4..724eec1ed59a05b9ceaf0781636b404ff025cd6a 100644 (file)
@@ -251,9 +251,6 @@ void logleqm(FILE * filehandle, double featuretimesec, struct Sum * oldsum);
 void logleqm10(FILE * filehandle, double featuretimesec, double longaverage);
 
 
-pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
-
-
 int main(int argc, const char ** argv)
 {
   int npoints = 64; // This value is low for precision. Calibration is done with 32768 point.