diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:48 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:48 +0200 |
| commit | bf5fc4cc4a15e8e57db58c2e065e0f5adbd8e800 (patch) | |
| tree | 855a98aec6d09361074c9725e08063553044ecfb /src/thrd/thro.h | |
| parent | d9c4a95345bd758e45196b29368bd2ff0f2790e3 (diff) | |
tagging ychat-0.7.9.3ychat-0.7.9.3
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..8e7e0cf 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 |
