diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:43 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:43 +0200 |
| commit | d3982ec72b255876db00825605d1d5aae0bc313e (patch) | |
| tree | a653552b7d229f7f27262980da7550d39961a102 /src/thrd/thro.h | |
| parent | 796609174e5ecb35fab992969e7690186840048a (diff) | |
tagging ychat-0.7.7.1ychat-0.7.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 ef38793..783cd0d 100644 --- a/src/thrd/thro.h +++ b/src/thrd/thro.h @@ -1,5 +1,3 @@ -// Threaded Object (thro) - #include "../incl.h" #ifndef THRO_H @@ -10,21 +8,23 @@ 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 |
