#include <webthread.h>
Inheritance diagram for WebThread:


Public Member Functions | |
| DECLSPEC | WebThread (const char *name, BasicObject *p, const char *debug=NULL) |
Static Public Attributes | |
| static Uint32 | tIdleToExit |
Protected Member Functions | |
| virtual DECLSPEC int | onRun () |
Friends | |
| class | WebServer |
Usually you do not need this class in your app. It is only required interally by the Netrinjo engine.
| WebThread::WebThread | ( | const char * | name, | |
| BasicObject * | p, | |||
| const char * | debug = NULL | |||
| ) |
Constructor. Debugging log file does not make much sense.
| int WebThread::onRun | ( | ) | [protected, virtual] |
inherit onRun to have a function, called once (done in the new thread), when the thread is started
Reimplemented from BasicThread.
Uint32 WebThread::tIdleToExit [static] |
The time of inactivity, in msecs, after that a thread can be killed.
Default value: 30000
1.5.1