Revision: | 406 |
Committed: | 2004-12-30T22:08:35-08:00 (20 years, 5 months ago) by douglas |
File size: | 258 byte(s) |
Log Message: | Damnit! |
# | Content |
---|---|
1 | // Spectre 2 |
2 | // |
3 | // Douglas Thrift |
4 | // |
5 | // $Id$ |
6 | |
7 | #include "Daemon.hpp" |
8 | |
9 | void Daemon::start() |
10 | { |
11 | running = true; |
12 | thread = new api::Thread(etl::BindAll(&Daemon::loop, this)); |
13 | } |
14 | |
15 | int Daemon::loop() |
16 | { |
17 | while (running) if (loaded) run(); else load(); |
18 | |
19 | return 0; |
20 | } |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Id |