1 /***************************************************************************
3 * Copyright (C) 2006 David Brodsky *
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. *
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. *
15 ***************************************************************************/
17 #ifndef _core_netthread_h
18 #define _core_netthread_h
20 #include <tairon/core/thread.h>
32 }; // namespace Tairon
40 /** \brief Thread for networking.
42 class NetThread
: public Tairon::Core::Thread
45 /** Constructs a thread object with name "net".
49 /** Destroys the thread.
57 /** Executes the thread loop.
62 /** Whether the thread should exit.
68 Tairon::Net::Loop
*loop
;
73 }; // namespace Tairent
77 // vim: ai sw=4 ts=4 noet fdm=marker