diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:44 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:44 +0200 |
| commit | c8b2ef7b899766d04562f7e04a84251cea8fa701 (patch) | |
| tree | 52816b17c17e2db0cf89e68537ad1a52392f1510 /src/thrd/thro.h | |
| parent | ca28c0e618890330d429c0dc12429255b20f0c90 (diff) | |
tagging ychat-0.8.0ychat-0.8.0
Diffstat (limited to 'src/thrd/thro.h')
| -rw-r--r-- | src/thrd/thro.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/thrd/thro.h b/src/thrd/thro.h index 9ad1e3e..8e7e0cf 100644 --- a/src/thrd/thro.h +++ b/src/thrd/thro.h @@ -8,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 |
