|
Index
C++ Code Documentation
thread::Thread
File: BASE/thread/Thread.H
public:
- Thread( uint thread_count );
| Constructor: initialize for 'thread_count' threads. | |
- virtual ~Thread();
| destructor | |
- void run() throw(int);
| start 'thread_count' threads, running function() on each. wait for all threads to finish | |
protected:
- virtual void function( uint thread_id ) = 0;
private:
- struct Data;
- uint _count;
- Data *_data;
- pthread_t *_thread;
- pthread_attr_t _thread_attr;
- static void *_function(void *);
- static void _function(void *);
- Thread( Thread const & );
| disabled | |
- Thread & operator=( Thread const & );
| disabled | |
|