ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Spectre2/Unmounter.cpp
(Generate patch)

Comparing Spectre2/Unmounter.cpp (file contents):
Revision 406 by douglas, 2004-12-30T22:08:35-08:00 vs.
Revision 418 by douglas, 2005-03-02T22:36:24-08:00

# Line 6 | Line 6
6  
7   #include "Unmounter.hpp"
8  
9 < Unmounter::Unmounter(const ext::String& config) : Daemon(), config(config) {}
9 > Unmounter::Unmounter(const api::Path& config) : Daemon(), config(config) {}
10  
11   void Unmounter::load()
12   {
13 <        api::Cerr << "Unmounter::load()" << ios::NewLine;
13 >        if (Spectre2::debug) api::Cerr << "Unmounter::load()" << ios::NewLine;
14  
15          loaded = true;
16   }
17  
18   void Unmounter::run()
19   {
20 <        api::Cerr << "Unmounter::run()" << ios::NewLine;
20 >        if (Spectre2::debug) api::Cerr << "Unmounter::run()" << ios::NewLine;
21  
22 <        running = false;
22 >        ::sleep(5);
23   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines