summaryrefslogtreecommitdiff
path: root/yhttpd/src/thrd/thro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yhttpd/src/thrd/thro.cpp')
-rw-r--r--yhttpd/src/thrd/thro.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/yhttpd/src/thrd/thro.cpp b/yhttpd/src/thrd/thro.cpp
deleted file mode 100644
index 8b3f1ba..0000000
--- a/yhttpd/src/thrd/thro.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef THRO_CPP
-#define THRO_CPP
-
-#include "thro.h"
-
-using namespace std;
-
-thro::thro()
-{}
-
-thro::~thro()
-{}
-
-void
-thro::run()
-{
- void *p_void;
- run( p_void );
-}
-
-void
-thro::run( void *p_void )
-{
- elem.p_thro = this;
- elem.p_void = p_void;
- //wrap::POOL->add_task(start_, &elem);
- pthread_create( &pthread, NULL, start_, &elem );
-}
-
-void*
-thro::start_( void *p_void )
-{
- elements *e = (elements*) p_void;
- e->p_thro->start( e->p_void );
-}
-
-void
-thro::start( void *p_void )
-{
- wrap::system_message( THRDSTR );
-}
-
-#endif