Ticket #2895: cpu_temp.diff
File cpu_temp.diff, 1.1 KB (added by , 17 years ago) |
---|
-
httpstatus.cpp
1549 1549 acpiTempFile.close(); 1550 1550 } 1551 1551 1552 #ifdef HAVE_LMSENSORS 1552 #ifdef HAVE_LMSENSORS 1553 tempSettingLock.lock(); 1553 1554 if (!found_acpi) 1554 1555 { 1555 1556 int chip_nr, a, b; … … 1583 1584 } 1584 1585 sensors_cleanup(); 1585 1586 } 1587 tempSettingLock.unlock(); 1586 1588 #endif 1587 1589 1588 1590 // Guide Data --------------------- -
httpstatus.h
200 200 int PrintScheduled ( QTextStream &os, QDomElement scheduled ); 201 201 int PrintJobQueue ( QTextStream &os, QDomElement jobs ); 202 202 int PrintMachineInfo ( QTextStream &os, QDomElement info ); 203 QMutex tempSettingLock; 203 204 204 205 public: 205 206 HttpStatus( QMap<int, EncoderLink *> *tvList, Scheduler *sched, AutoExpire *expirer, bool bIsMaster );