Send correct informations to a http tracker.
[tairent.git] / src / main / hashcheckerthread.cpp
blobd43eaa49eca3aa4c0ef88f9251e1e9a3a9aa34af
1 /***************************************************************************
2 * *
3 * Copyright (C) 2006 David Brodsky *
4 * *
5 * This program is free software; you can redistribute it and/or *
6 * modify it under the terms of the GNU General Public License as *
7 * published by the Free Software Foundation and appearing *
8 * in the file LICENSE.GPL included in the packaging of this file. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
13 * General Public License for more details. *
14 * *
15 ***************************************************************************/
17 #include "hashcheckerthread.h"
19 namespace Tairent
22 namespace Main
25 /* {{{ HashCheckerThread::HashCheckerThread() */
26 HashCheckerThread::HashCheckerThread() : Tairon::Core::Thread("hash"), exit(false)
29 /* }}} */
31 /* {{{ HashCheckerThread::~HashCheckerThread() */
32 HashCheckerThread::~HashCheckerThread()
35 /* }}} */
37 /* {{{ HashCheckerThread::run() */
38 void *HashCheckerThread::run()
40 while (!exit)
41 waitAndCallFunctors(1, 0);
43 return 0;
45 /* }}} */
47 }; // namespace Main
49 }; // namespace Tairent
51 // vim: ai sw=4 ts=4 noet fdm=marker