diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
| commit | 56187184e11b085b82584d3b088c62f427aae83c (patch) | |
| tree | 8f8387e750a62581966900a42dade265d34c3146 /src/thrd/thro.h | |
| parent | d3a0d11f93c1ebe38b4301c9bef952bfd24d01a1 (diff) | |
tagging yhttpd-0.7.1yhttpd-0.7.1
Diffstat (limited to 'src/thrd/thro.h')
| -rw-r--r-- | src/thrd/thro.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/thrd/thro.h b/src/thrd/thro.h index 8e7e0cf..ef38793 100644 --- a/src/thrd/thro.h +++ b/src/thrd/thro.h @@ -1,3 +1,5 @@ +// Threaded Object (thro) + #include "../incl.h" #ifndef THRO_H @@ -8,23 +10,21 @@ using namespace std; class thro { private: - pthread_t pthread; + pthread_t pthread; - struct elements - { - thro *p_thro; - void *p_void; - } - elem; + struct elements { + thro* p_thro; + void* p_void; + } elem; - static void *start_( void *p_void ); + static void* start_( void* p_void ); public: - thro( ); - ~thro( ); - void run(); - void run( void *p_void ); - virtual void start( void *p_void ); + thro( ); + ~thro( ); + void run(); + void run( void* p_void ); + virtual void start( void* p_void ); }; #endif |
