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

Comparing Spectre2/Daemon.hpp (file contents):
Revision 432 by douglas, 2005-03-27T01:56:29-08:00 vs.
Revision 441 by douglas, 2005-04-12T15:42:24-07:00

# Line 24 | Line 24 | class Daemon
24   private:
25          const api::Path& config;
26          bool running, loaded;
27 <        unsigned interval/*, count*/;
27 >        unsigned interval;
28          _H<api::Thread> thread;
29          int loop();
30          void load();
# Line 34 | Line 34 | private:
34                  int work_(const Share& share);
35          void sleep();
36   public:
37 <        Daemon(const api::Path& config) : config(config), running(true), loaded(false), interval(60), /*count(0),*/ thread(new api::Thread(etl::BindAll(&Daemon::loop, this))) {}
37 >        Daemon(const api::Path& config) : config(config), running(true), loaded(false), interval(60), thread(new api::Thread(etl::BindAll(&Daemon::loop, this))) {}
38          ~Daemon();
39          static ext::RedBlackSet<Share> shares;
40 //      static api::ThreadMutex smbcLock;
40   #ifdef __FreeBSD__
41          static ext::String secret;
42          static api::ThreadMutex secretLock;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines