+namespace PlaQui {
+
+namespace Server {
+
+Runnable::~Runnable(void) {
+#ifdef DEBUG
+ cerr << __FILE__ << "(" << __LINE__ << ")"
+ << ": destructor(this = " << this << ")"
+ << endl;
+#endif // DEBUG
+}
+
+Runnable::Runnable(void): _thread(NULL), _stop(false) {
+#ifdef DEBUG
+ cerr << __FILE__ << "(" << __LINE__ << ")"
+ << ": constructor." << endl;
+#endif // DEBUG
+}
+
+void Runnable::static_run(Runnable* runner) {
+#ifdef DEBUG
+ cerr << __FILE__ << "(" << __LINE__ << ")"
+ << ": static_run(runner = " << runner << ")" << endl;
+#endif // DEBUG
+ runner->real_run();
+ runner->_finished();
+ delete runner;