FACT++  1.0
DimWriteStatistics::~DimWriteStatistics ( )

Default destructor.

Destructor. Stop thread by setting fUpdateInterval to 0 and join the thread.

Definition at line 47 of file DimWriteStatistics.cc.

References fThread, and fUpdateInterval.

Referenced by GetFileSizeOnDisk().

48 {
49  fUpdateInterval = 0;
50 
51  // This blocks for fPeriod duration, but maybe canceling the thread
52  // could be more dangerous leaving Dim in an undefined state.
53  fThread.interrupt();
54 }
uint16_t fUpdateInterval
Current folder being watched for free space.
boost::thread fThread
The boost thread used to update the service.

+ Here is the caller graph for this function: